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.
    • d.healeyD
      d.healey
      last edited by

      There is no setZoomLevel function.

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

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

        @SteveRiggs Why do you want to do such a thing?
        The UI zoom factor you have set in the customSettings before exporting is recalled when plugins load if I remember well...

        Can't help pressing F5 in the forum...

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

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

          The UI zoom factor you have set in the customSettings before exporting is recalled when plugins load if I remember well...

          Unfortunately not the case. I just did a quick test and exported with 50% and it loads up in Ableton at 100%.

          Basically I need it because 2 of the projects I started right at the beginning of my hise mission months ago before I knew any better, I made the interface's way too big for 13" macbook screens.

          In the studio my main setup is usually a 28 inch tv, 2 x 22" monitors, and my 15" macbook pro... so when I was building the interface's on the bigger screens I didn't know that it would be a problem down the line for smaller screens.

          To go back and resize full projects now would be a huge pain so I was hoping to just be able to have the default size set to 75% zoom on those ones.

          www.anarchyaudioworx.com

          www.facebook.com/groups/audioworx/

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

            @SteveRiggs Strange 🤔 it might with standalone app, or not, I don't remember 🤖

            I understand because I've made the same mistake so I have a plugin to re-shape entirely as well 😬
            Working on 27" monitor might be comfortable but beware of the size...

            Can't help pressing F5 in the forum...

            SteveRiggsS 1 Reply Last reply Reply Quote 0
            • 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

                                        52

                                        Online

                                        1.7k

                                        Users

                                        11.7k

                                        Topics

                                        101.8k

                                        Posts