HISE Logo Forum
    • Categories
    • Register
    • Login

    Slider text box disabled = border

    Scheduled Pinned Locked Moved Bug Reports
    2 Posts 1 Posters 748 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.
    • d.healeyD
      d.healey
      last edited by d.healey

      I just built the latest version from Git with the new text box property for sliders. One thing I've noticed is that with this option disabled I see a border around the slider. In the image below the slider on the left has the text box enabled while the one on the right is disabled, nothing else is different between the two yet the one on the right has gained a white outline.

      0_1515429935115_Screenshot from 2018-01-08 16-38-18.png

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

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

        Coming back to sliders again as I start to finalise my instrument. Disabling the show text option still leaves the border around the slider.

        So I used the method where a hidden slider is placed over a panel, however It still provides the ability for the user to enter values via shift+click (even with show text disabled) which I would like to disable on my vertical sliders.

        There still doesn't seem to be a way to restore the basic slider control to its default value when the show text option is enabled.

        I could just use a custom slider/panel but then I lose the nice value popup feature. Another option I'm going to try is putting a custom panel over a slider control which I think will allow me to do what I want and still have the value popup the downside to this is I have 8 sliders I want to setup in this way which means 16 controls and some extra code and the whole thing feels untidy.

        Update: I managed to get the slider controlling the knob but unfortunately it loses the value popup (I assume this muse be part of the mouse callback of the knob itself).

        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

        22

        Online

        1.8k

        Users

        12.1k

        Topics

        105.4k

        Posts