Forum

    • Register
    • Login
    • Search
    • Categories

    Look and feel for ScriptedViewport

    Feature Requests
    3
    8
    51
    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.
    • ulrik
      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 13, Xcode 14.0.1
      http://musikboden.se

      d.healey 1 Reply Last reply Reply Quote 0
      • d.healey
        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 🙂

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

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

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

          Hise Develop branch
          MacOs 13, Xcode 14.0.1
          http://musikboden.se

          Christoph Hart 1 Reply Last reply Reply Quote 0
          • Christoph Hart
            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.healey 1 Reply Last reply Reply Quote 0
            • d.healey
              d.healey @Christoph Hart last edited by

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

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

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

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

                Christoph Hart d.healey 2 Replies Last reply Reply Quote 0
                • Christoph Hart
                  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.healey
                    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.

                    Libre Wave - Freedom respecting instruments and effects
                    My Patreon - HISE tutorials
                    YouTube Channel - Public HISE tutorials

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

                    5
                    Online

                    1.2k
                    Users

                    7.1k
                    Topics

                    64.9k
                    Posts