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
      last edited by DanH

      I don't know if anyone else suffers from this but I quite often overlook turning off the editable button for a label and have to run all the exports off again... Anyone else in favour of the button being off by default?!

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

      d.healeyD ulrikU LindonL 3 Replies Last reply Reply Quote 1
      • d.healeyD
        d.healey @DanH
        last edited by

        @DanH I pretty much only use labels to get user input. If I need to display text for "labelling" purposes I include it in LAF or paint routines.

        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 Ok well for us old school lot it's worth a shout 😆

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

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

            @DanH said in Labels - Default as Non-Editable?!:
            Anyone else in favour of the button being off by default?!

            Yes, agreed!

            Hise Develop branch
            MacOs 15.3.1, Xcode 16.2
            http://musikboden.se

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

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

              I don't know if anyone else suffers from this but I quite often overlook turning off the editable button for a label and have to run all the exports off again... Anyone else in favour of the button being off by default?!

              if you mean labels not buttons, and default is editable = false, yep Im all in.

              HISE Development for hire.
              www.channelrobot.com

              CatABCC 1 Reply Last reply Reply Quote 1
              • CatABCC
                CatABC @Lindon
                last edited by

                @Lindon +1

                //I am a new student at HISE._
                //Windows11 & MacOS Ventura 13.6.7_

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

                  -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.

                  DanHD LindonL 3 Replies Last reply Reply Quote 0
                  • 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

                                      32

                                      Online

                                      1.7k

                                      Users

                                      11.9k

                                      Topics

                                      103.5k

                                      Posts