Forum

    • Register
    • Login
    • Search
    • Categories

    Look & Feel Slider textbox?

    Scripting Forum
    3
    11
    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

      Is it available?

      Skärmavbild 2022-05-31 kl. 11.02.01.png

      Hise Develop branch
      MacOs 12.4, Xcode 13.0
      http://musikboden.se

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

        @ulrik Why would you need this? Do you intend to use the stock slider design for your plugins?
        Because as soon as you declare a custom LAF for a slider the entire component uses it so you can draw the text box of your choice.

        Tired to press F5 in the forum...
        Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

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

          @ustk In my project I'm using only the textbox from a linear slider, the rest is transparent, and I would like to change the text and background colour of the textbox.

          I can't see how to do that using the custom LAF for the slider

          Hise Develop branch
          MacOs 12.4, Xcode 13.0
          http://musikboden.se

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

            @ulrik Why don't you use a label instead of a slider?

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

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

              @d-healey because you can't close a label with esc, and the label CB don't trigger if nothing is changed in it.

              Hise Develop branch
              MacOs 12.4, Xcode 13.0
              http://musikboden.se

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

                @ulrik Why do you want to trigger a callback if nothing has changed?

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

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

                  @d-healey with a slider, if you activate the text box and press esc, it will close, that is not possible to do with a label, maybe I explained myself poorly.

                  Hise Develop branch
                  MacOs 12.4, Xcode 13.0
                  http://musikboden.se

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

                    @ulrik Pressing esc works here with a label.

                    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 Haha, yes it does, have it always worked like this?

                      However I use the linear sliders in this project so, is there a way?

                      Hise Develop branch
                      MacOs 12.4, Xcode 13.0
                      http://musikboden.se

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

                        @ulrik You can use a slider and a label 😉

                        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 😂

                          Hise Develop branch
                          MacOs 12.4, Xcode 13.0
                          http://musikboden.se

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

                          10
                          Online

                          857
                          Users

                          5.7k
                          Topics

                          53.1k
                          Posts