HISE Logo Forum
    • Categories
    • Register
    • Login

    Look and feel for ScriptedViewport

    Scheduled Pinned Locked Moved Feature Requests
    8 Posts 3 Posters 401 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ulrikU
      ulrik
      last edited by ulrik

      I know there is a function to register laf for the scrollbar, but I can't find anything about the rest of the component.

      I would like to set different look for each item (when using list), for instance set a different alpha on specific text.
      I know I can do that using a panel, but I just wanted to ask if it was possible to do with the viewport component?

      Hise Develop branch
      MacOs 15.3.1, Xcode 16.2
      http://musikboden.se

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @ulrik
        last edited by

        @ulrik You can't style the rest of it. You need to use a panel within it and style that.

        Just like you helped me with before - https://forum.hise.audio/topic/7505/little-help-please-make-viewport-scroll-with-keypress?_=1684834829809 :)

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        ulrikU 1 Reply Last reply Reply Quote 1
        • ulrikU
          ulrik @d.healey
          last edited by

          @d-healey thank you David, I had forgotten that one :)

          Hise Develop branch
          MacOs 15.3.1, Xcode 16.2
          http://musikboden.se

          Christoph HartC 1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart @ulrik
            last edited by

            You can't style the rest of it. You need to use a panel within it and style that.

            Sure, you can style it, but you need to use the listbox model mode, then you get plenty of customization callbacks.

            https://docs.hise.audio/scripting/scripting-api/scriptedviewport/index.html#settablemode

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @Christoph Hart
              last edited by

              @Christoph-Hart Does it still function as a list with mouse and keyboard callbacks?

              Free HISE Bootcamp Full Course for beginners.
              YouTube Channel - Public HISE tutorials
              My Patreon - HISE tutorials

              Christoph HartC 1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart @d.healey
                last edited by

                @d-healey Try it out, HISE is free and open source :)

                Christoph HartC d.healeyD 2 Replies Last reply Reply Quote 0
                • Christoph HartC
                  Christoph Hart @Christoph Hart
                  last edited by

                  And you can even override the callbacks to react on Space Key / return key presses or different mouse clicks.

                  1 Reply Last reply Reply Quote 1
                  • d.healeyD
                    d.healey @Christoph Hart
                    last edited by

                    @Christoph-Hart said in Look and feel for ScriptedViewport:

                    @d-healey Try it out, HISE is free and open source :)

                    Ha I'm so lazy sometimes.

                    Free HISE Bootcamp Full Course for beginners.
                    YouTube Channel - Public HISE tutorials
                    My Patreon - HISE tutorials

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post

                    25

                    Online

                    2.0k

                    Users

                    12.7k

                    Topics

                    110.0k

                    Posts