GUI size default 50%
-
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
-
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 withSCALE_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 :)