HISE Logo Forum
    • Categories
    • Register
    • Login

    getZoomLevel to change GUI size onInit?

    Scheduled Pinned Locked Moved General Questions
    19 Posts 5 Posters 733 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.
    • SteveRiggsS
      SteveRiggs @ustk
      last edited by

      @ustk

      @ustk said in getZoomLevel to change GUI size onInit?:

      I have a plugin to re-shape entirely as well

      It looks like we have some fun tasks to come then lol.

      At the moment I've just opted for a button in the top left corner of the plugins which opens up the custom zoom settings so if someone has a smaller screen and it loads to big, they can still access the button. It works but it's not ideal. It would be much better to have it load up at a smaller size. It'd save a hell of a lot of tedious work fixing my noob mistakes 🤣

      www.anarchyaudioworx.com

      www.facebook.com/groups/audioworx/

      1 Reply Last reply Reply Quote 1
      • NatanN
        Natan
        last edited by Natan

        Tip :
        Always Place The Scale Settings In The Top Left Hand Side Of GUI, To Avoid Further Problems For Your End Users.
        The Reason Is Becuase, Resizing The GUI To Over 200 Will Hide The Settings If They Are Located In Right Top Or Bottom.

        SteveRiggsS 1 Reply Last reply Reply Quote 2
        • SteveRiggsS
          SteveRiggs @Natan
          last edited by SteveRiggs

          @Natanr: ^^^^^ ;)

          Screen Shot 2019-11-12 at 22.43.58.png

          www.anarchyaudioworx.com

          www.facebook.com/groups/audioworx/

          NatanN 1 Reply Last reply Reply Quote 1
          • NatanN
            Natan @SteveRiggs
            last edited by Natan

            @SteveRiggs Haha 😀 I Guess I Skipped Reading Your Reply
            Looks Like Same Exprience Happend At Both Sides 🤘

            SteveRiggsS 1 Reply Last reply Reply Quote 1
            • SteveRiggsS
              SteveRiggs @Natan
              last edited by SteveRiggs

              @Natanr Haha All good mate. Keep the tips coming ☺

              www.anarchyaudioworx.com

              www.facebook.com/groups/audioworx/

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

                The scale factor is being stored in a GeneralSettings.xml file so if you had this before, it will restore it to the value.

                However it's trivial to set another default value than 100%, I just need to make this a preprocessor macro which you can set in your projects settings.

                SteveRiggsS 1 Reply Last reply Reply Quote 1
                • SteveRiggsS
                  SteveRiggs @Christoph Hart
                  last edited by

                  @Christoph-Hart That would be awesome. Cheers!

                  I just did a quick search for the GeneralSettings .xml but can't see it anywhere. Is it editable and can be changed per project? That would work for now if so. It'd save a lot of work 🤔

                  www.anarchyaudioworx.com

                  www.facebook.com/groups/audioworx/

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

                    @SteveRiggs That file is created in the app data folder when the user runs the plugin/standalone for the first time.

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

                    SteveRiggsS 1 Reply Last reply Reply Quote 1
                    • SteveRiggsS
                      SteveRiggs @d.healey
                      last edited by

                      @d-healey So it its!! Thanks.

                      If I edit the size to 0.75 in there, will it change every project to 75% when it exports? I can live with that if it does.

                      I'd rather have them load up slightly smaller than taking over the whole screen 🤣

                      Screen Shot 2019-11-13 at 13.45.56.png

                      www.anarchyaudioworx.com

                      www.facebook.com/groups/audioworx/

                      SteveRiggsS 1 Reply Last reply Reply Quote 0
                      • SteveRiggsS
                        SteveRiggs @SteveRiggs
                        last edited by

                        @SteveRiggs ...or maybe it could be changed before each export just for specific projects 🤔

                        www.anarchyaudioworx.com

                        www.facebook.com/groups/audioworx/

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

                          @SteveRiggs said in getZoomLevel to change GUI size onInit?:

                          @SteveRiggs ...or maybe it could be changed before each export just for specific projects 🤔

                          Yeah, that's what Christoph said he will add.

                          I just need to make this a preprocessor macro which you can set in your projects settings.

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

                          SteveRiggsS 1 Reply Last reply Reply Quote 1
                          • SteveRiggsS
                            SteveRiggs @d.healey
                            last edited by

                            @d-healey Cool. I was just wondering if I could edit it in there for now until it's added into the project settings

                            www.anarchyaudioworx.com

                            www.facebook.com/groups/audioworx/

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

                              @SteveRiggs You could but that only affects your copy, it won't help your users when they install it.

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

                              SteveRiggsS 1 Reply Last reply Reply Quote 1
                              • SteveRiggsS
                                SteveRiggs @d.healey
                                last edited by

                                @d-healey Ahhh I see. Cheers dude.

                                www.anarchyaudioworx.com

                                www.facebook.com/groups/audioworx/

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

                                44

                                Online

                                1.7k

                                Users

                                11.7k

                                Topics

                                101.8k

                                Posts