Forum
    • Categories
    • Register
    • Login

    [feature request] Preset browser search bar text in LAF

    Scheduled Pinned Locked Moved Feature Requests
    search barpreset browserlook and feellaf
    30 Posts 9 Posters 5.1k 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.
    • HISEnbergH
      HISEnberg @Straticah
      last edited by

      @d-healey was this ever resolved? I can't seem to change the text or highlight colour in the search bar of the preset browser.

      Sonic Architect && Software Mercenary

      David HealeyD 1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey @HISEnberg
        last edited by

        @HISEnberg Not sure, did you try drawPresetBrowserSearchBar?

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

        HISEnbergH 2 Replies Last reply Reply Quote 0
        • HISEnbergH
          HISEnberg @David Healey
          last edited by

          @d-healey yes that's what I have been using but the drawText doesn't work and even trying to reset the size of the search bar via scripting instead of using the property editor data is a bit buggy. I will post a minimal snippet later on, perhaps it's a bug or needed feature request.

          Sonic Architect && Software Mercenary

          1 Reply Last reply Reply Quote 1
          • HISEnbergH
            HISEnberg @David Healey
            last edited by

            @d-healey

            The documentation doesn't state that you can edit the text property of the search bar, but I doubt I am the only one who has tried to do this.

            Here is the snippet

            HiseSnippet 1435.3ocsW0uahaDDeMI9Tg1qsWUe.VgTaIUHN6P.tqmN0.DnEUxETH2cU5zonE60v1X1EsdIjzpH0mf9pz+suD8co+W+yqyZavX939.oZIvdmu1edlYmYbOovgFDHjHibWb6DJx3SL6eKWMp4HBii5bBx3SMOkDnnRbDoF2NgDDPcQFF68CZBFY2GEd8OeeChOg6PSHgPuPvbncYiYpDp8N9mX99sItzKXiWR5iNtiif2T3KlB3YOSKzDhyUjgzmQzhkwD8ijfQHiu07wUpXSb8p4YW19wCb8bnkqYU8nZGRp7HOuZV1GU1sl2Q.HuWKWlRH6qHJZ.XzFB2a6ORLiGsAufEvF3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01X1lbsPBNJ8bNoXFCuNvKuKsgPBuho3+roii7G52.6PRQqeoN1dNjbH.FuJr.fUoxqbU7CjNP90g6gtDXcn11B+S7NTbS2VnUDxNWLqGw0ExZee0aQu2F5BjAKTqbrj1w2OzJ9gxI5dpPF6zSTN1pKR2Vky7nwZbycGJoGXbl+azIy5ht5yHvIUlCtOjqhOsOLP6ZygAS.Jbm5SToGKTOvbLCHIO0rX54sfnu51kGn9CXVQq25rhuuP7Al8XJmQaFiY1.FgZb+efw3IruuYKOOnMYB.22r8OuqiS+N1dnsrtF6oDkjAESMgyb8g3uCE1cNm5GnKglQWmOZskds1CzmxcCW7F3JlosdsQLS64LQiINRwkNQ8uzyv+QgT.LwC+FmrvGaAqw1nvdZK6mGCeRwkNNoM0ZJd3tpX4cUwi1UEqrqJVcWUr1tp3id2Jp+hu5SUhwQGaPnS60Jr2mgQKNAx.CyVQ+GKbCZRA
            

            Sonic Architect && Software Mercenary

            HISEnbergH 1 Reply Last reply Reply Quote 0
            • HISEnbergH
              HISEnberg @HISEnberg
              last edited by

              @Christoph-Hart is it possible to change the text displayed in the search bar or the preset browser? Also the highlighting colour?

              Sonic Architect && Software Mercenary

              1 Reply Last reply Reply Quote 0
              • David HealeyD
                David Healey
                last edited by

                @Christoph-Hart Maybe a job for CSS?

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

                A 1 Reply Last reply Reply Quote 1
                • A
                  aaronventure @David Healey
                  last edited by

                  @d-healey is it possible to mix and match? text entry is one thing that could benefit from it.

                  I have been playing around with comboboxes lately and I caught up with your and Chris' talk on item height, which resulted in a unique function for LAF that just wants a return of the height instead of processing any graphics methods.

                  So maybe this can be done for text entry: the function just wants a return of a JSON object with various properties much like the ModalTextInput method which can be customized.

                  David HealeyD 1 Reply Last reply Reply Quote 0
                  • David HealeyD
                    David Healey @aaronventure
                    last edited by

                    @aaronventure said in [feature request] Preset browser search bar text in LAF:

                    is it possible to mix and match?

                    CSS and LAF? Yeah.

                    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 @David Healey
                      last edited by

                      Yes the preset browser is definitely a strong contender to be customized with CSS (everything from positioning the columns to styling the scroll bars is covered by the current feature set of the CSS renderer so I just have to hook it up and assign custom class selectors to the elements of the preset browser), but I'm not sure how much you can do with the current state.

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

                        Alright, here we go:

                        https://docs.hise.dev/ui-components/floating-tiles/plugin/presetbrowser.html#css-styling

                        David HealeyD HISEnbergH 3 Replies Last reply Reply Quote 4
                        • David HealeyD
                          David Healey @Christoph Hart
                          last edited by

                          @Christoph-Hart Oh nice!

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

                          1 Reply Last reply Reply Quote 0
                          • David HealeyD
                            David Healey @Christoph Hart
                            last edited by

                            @Christoph-Hart You know the parameter dump thing you added for modules, what about a css selector dump for components?

                            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 @David Healey
                              last edited by

                              @d-healey There's already a CSS debugger. If you've assigned a CSS LAF to a component you can right click and use Show CSS debugger, then you'll see this:

                              Current variable values:
                              {
                                "bgColour": "#55FFFFFF",
                                "itemColour": "#66333333",
                                "itemColour2": "#FB111111",
                                "textColour": "#FFFFFFFF"
                              }
                              ==============================
                              
                              /* CSS for component hierarchy: */
                              
                              div 
                               div 
                                div 
                                 div 
                                  div 
                                   div 
                                    div 
                                     div 
                                      div 
                                       div 
                                        div 
                                         div 
                                          div 
                                           div 
                                            div 
                                             div 
                                              div 
                                               div 
                                                div 
                                                 div 
                                                  div 
                                                   button #b1 .scriptbutton
                              
                              /** Component stylesheet: */
                              button #b1 .scriptbutton {
                                background-color[]: 0xFFFF0000
                                color[]: 0xFFFFFFFF
                              }
                              
                              
                              /** Inherited style sheets: */
                              button {
                                background-color[]: 0xFFFF0000
                                color[]: 0xFFFFFFFF
                              }
                              
                              
                              David HealeyD 1 Reply Last reply Reply Quote 1
                              • David HealeyD
                                David Healey @Christoph Hart
                                last edited by David Healey

                                @Christoph-Hart said in [feature request] Preset browser search bar text in LAF:

                                you can right click

                                Where do I right click, on the component?

                                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 @David Healey
                                  last edited by

                                  @d-healey interface designer in edit mode.

                                  David HealeyD 1 Reply Last reply Reply Quote 1
                                  • David HealeyD
                                    David Healey @Christoph Hart
                                    last edited by

                                    @Christoph-Hart Perfect, thank you

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

                                    1 Reply Last reply Reply Quote 0
                                    • HISEnbergH
                                      HISEnberg @Christoph Hart
                                      last edited by

                                      @Christoph-Hart nice thank you for adding this! Personally I'm a tad rusty on CSS but it's fantastic that this is now integrated.

                                      I always tell myself that if I improve my skills I could be more useful to the community.

                                      Best,

                                      Hisenberg

                                      Sonic Architect && Software Mercenary

                                      HISEnbergH 1 Reply Last reply Reply Quote 1
                                      • HISEnbergH
                                        HISEnberg @HISEnberg
                                        last edited by HISEnberg

                                        Apologies, that is low hanging fruit and my jokes are better, but I am quite excited to explore the CSS integration into HISE

                                        Sonic Architect && Software Mercenary

                                        C 1 Reply Last reply Reply Quote 0
                                        • C
                                          clevername27 @HISEnberg
                                          last edited by

                                          @HISEnberg said in [feature request] Preset browser search bar text in LAF:

                                          my jokes are better

                                          …says 'HISEnberg". 🔥

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

                                            but I am quite excited to explore the CSS integration into HISE

                                            yup, the more people play around with it the earlier I can remove the "experimental" warning message...

                                            HISEnbergH 1 Reply Last reply Reply Quote 1
                                            • HISEnbergH HISEnberg referenced this topic on
                                            • First post
                                              Last post

                                            31

                                            Online

                                            2.1k

                                            Users

                                            13.0k

                                            Topics

                                            113.0k

                                            Posts