HISE Logo Forum
    • Categories
    • Register
    • Login

    GUI size default 50%

    Scheduled Pinned Locked Moved General Questions
    2 Posts 2 Posters 246 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.
    • alexaudio10A
      alexaudio10
      last edited by

      Hello everyone,

      It's been a while since I posted here but I follow you very regularly.
      I would like some help with the dimension of my plugin.
      I would like to know if it is possible to set the UI Scale Factor to 75% by default.
      Sorry for my bad English, I am using a translator.

      Alex

      orangeO 1 Reply Last reply Reply Quote 0
      • orangeO
        orange @alexaudio10
        last edited by orange

        @alexaudio10

        The GUI resize option is in the CustomSettings Floating Tile.

        CustomSettings Floating Tile can't be saved in a preset. The value is stored in the GeneralSettings.xml file of the project in appdata folder.

        So firstly, you need to modify the scale factor with this: SCALE_FACTOR="0.75" in the GeneralSettings.xml of your project.

        Then in order to make this by defauly, you need to distribute the modified GeneralSettings.xml file (with SCALE_FACTOR="0.75" modification) to the appdata folder, with the installer. So while installing the plugin, this GeneralSettings.xml file will be created before the plugin initialization and plugin will start with SCALE_FACTOR="0.75".

        In short, Because of above procedure is grueling; I recommend arranging the GUI smaller by default, so even in 100% scale, the GUI will be smaller on init :)

        develop Branch / XCode 13.1
        macOS Monterey / M1 Max

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

        6

        Online

        1.7k

        Users

        11.8k

        Topics

        103.2k

        Posts