scaling: Add a setting for fitting layouts to the panel

It can be useful to deactivate this while designing layouts,
to be able to see the accurate size of those layouts.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/702>
This commit is contained in:
MoonlightWave-12
2024-11-03 13:27:34 +01:00
parent 291afe361c
commit b9f54a4e4b
2 changed files with 19 additions and 1 deletions

View File

@ -27,6 +27,15 @@
For square screens, the setting for screens in landscape-orientation is used.
</description>
</key>
<key name='layout-shape-changes-to-fit-panel' type='b'>
<default>true</default>
<summary>Wether layouts will stretch to fit the panel or not</summary>
<description>
While this setting is active, the proportions of layouts can change,
to fit the available space on the panel.
It can be useful to deactivate this while designing layouts.
</description>
</key>
</schema>
</schemalist>