Forum

    • Register
    • Login
    • Search
    • Categories

    Quick question about Preset browser L&F

    General Questions
    4
    8
    105
    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.
    • marcLab
      marcLab last edited by

      I'm looking in changing only the colour of one column of my preset browser. I want to change the colour of the Expansion column. Any Ideas? I've messed around with the L&F but didn't find anything useful.

      Any help would be super appreciated!

      Cheers!

      ustk 1 Reply Last reply Reply Quote 0
      • ustk
        ustk @marcLab last edited by ustk

        @marcLab I don't think custom LAF will allow you to do this...

        Solution 1: Put your hands in the source code
        Solution 2: Make a full custom preset browser using panels

        I can't help pressing F5 in the forum...

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

          @ustk

          Solution 3: Don't worry about it 😛

          What colours do you want to change? Just the outline or everything?

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

          marcLab ustk 2 Replies Last reply Reply Quote 1
          • marcLab
            marcLab @d.healey last edited by

            @d-healey Hey David, I would like to change the outline and the selected expansion. I want the expansion column to be different than the preset folder and preset

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

              @marcLab If I remember correctly you can hide all of the outlines by changing the colours in the interface designer. Then if your preset browser is inside a panel you can use a paint routine on the panel to draw the lines back in however you like. This doesn't work for the highlight however.

              But I think you can do all of this with LAF.

              Use Console.print(trace(obj)); to see what values are available in the LAF function. I'm pretty sure you get a columnIndex value.

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

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

                @d-healey Thanks! Will try that! I'll give you some news

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

                  @d-healey said in Quick question about Preset browser L&F:

                  @ustk

                  Solution 3: Don't worry about it

                  I couldn't dare this one 🤣

                  I can't help pressing F5 in the forum...

                  DanH 1 Reply Last reply Reply Quote 1
                  • DanH
                    DanH @ustk last edited by

                    @ustk He's challenged you 😆

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

                    25
                    Online

                    1.1k
                    Users

                    6.8k
                    Topics

                    62.5k
                    Posts