HISE Logo Forum
    • Categories
    • Register
    • Login

    Labels - Default as Non-Editable?!

    Scheduled Pinned Locked Moved General Questions
    17 Posts 6 Posters 343 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.
    • DanHD
      DanH @Christoph Hart
      last edited by

      @Christoph-Hart out of interest where is it in the source code? Happy to change it for my own use 😆

      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
      https://dhplugins.com/ | https://dcbreaks.com/
      London, UK

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

        @DanH just search the source for the property name and you should find it pretty easily.

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

        DanHD 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @Christoph Hart
          last edited by

          @Christoph-Hart said in Labels - Default as Non-Editable?!:

          -1 here, it will break existing projects because the XML strips all default values to keep the file size in check so all editable labels will then be read only.

          I also find it mildly inconvenient, but the annoyance isn't worth the backwards compatibility break or adding a preprocessor flag.

          yep get what you are saying, however the compromise would be on label creation, it starts as editable=false

          So when I make a new label (in future) the editor adds it with editable=false, so now it behaves like a label, and if I want to change it to some sort of text entry box then I have to go change this value. This I think gets rid of 99% of the problem and retains backwards compatibility

          HISE Development for hire.
          www.channelrobot.com

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

            @d-healey ScriptingAPIContent.cpp :thumbs_up:

            DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
            https://dhplugins.com/ | https://dcbreaks.com/
            London, UK

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

              @DanH Yeah that looks right, but I just tried changing it to false and it also affected labels that are already on my UI...

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

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

                @d-healey as in set all the labels in the opposite direction?

                DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                https://dhplugins.com/ | https://dcbreaks.com/
                London, UK

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

                  @DanH It set editable to false on all of them, old and new.

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

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

                    @d-healey oops 😆

                    DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                    https://dhplugins.com/ | https://dcbreaks.com/
                    London, UK

                    1 Reply Last reply Reply Quote 0
                    • DanHD
                      DanH @Christoph Hart
                      last edited by

                      @Christoph-Hart ok perhaps a middle ground is to have an icon next to every label in the Component List that shows if it's editable...

                      Just found some more and now have to spend a couple of hours running my last update off again 😆

                      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                      https://dhplugins.com/ | https://dcbreaks.com/
                      London, UK

                      LindonL 1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon @DanH
                        last edited by

                        @DanH no the middle ground is to leave everything the way it is - but for all new label widgets to default to off.

                        HISE Development for hire.
                        www.channelrobot.com

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

                        23

                        Online

                        1.7k

                        Users

                        11.9k

                        Topics

                        103.4k

                        Posts