Condense checkboxes in video options

With the font size set to "Very Large" and the theme set to "Cartoon", the Apply button went slightly outside of the main box.  This fixes that by putting the two checkboxes on the same row, which saves a bit of valuable horizontal space.
This commit is contained in:
QwertyChouskie 2020-09-25 20:35:58 -07:00 committed by GitHub
parent e97d33d6f5
commit 1e90c734a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,6 @@
<spacer width="2%" height="100%"/>
<box width="78%" height="100%" layout="vertical-row">
<spacer width="5" height="1%"/>
<label width="100%" I18N="In the video settings" text="Graphics"/>
<spacer width="5" height="1%"/>
@ -88,21 +87,23 @@
<spacer width="5" height="1%"/>
<div width="75%" height="fit" layout="horizontal-row" >
<spacer width="5%" height="100%" />
<checkbox id="fullscreen"/>
<spacer width="1%" height="100%" />
<label id="fullscreenText" height="100%" I18N="In the video settings" text="Fullscreen"/>
<div layout="horizontal-row" width="100%" height="fit">
<div proportion="2" height="fit" layout="horizontal-row" >
<spacer width="5%" height="100%" />
<checkbox id="fullscreen"/>
<spacer width="2%" height="100%" />
<label id="fullscreenText" height="100%" I18N="In the video settings" text="Fullscreen"/>
</div>
<div proportion="3" layout="horizontal-row" height="fit">
<spacer width="5%" height="100%" />
<checkbox id="rememberWinpos"/>
<spacer width="2%" height="100%" />
<label id="rememberWinposText" height="100%" I18N="In the video settings" text="Remember window location"/>
</div>
</div>
<div width="75%" layout="horizontal-row" height="fit">
<spacer width="5%" height="100%" />
<checkbox id="rememberWinpos"/>
<spacer width="1%" height="100%" />
<label id="rememberWinposText" height="100%" I18N="In the video settings" text="Remember window location"/>
</div>
<spacer width="5" height="1%"/>
<spacer width="5" height="2%"/>
<div width="100%" height="fit" layout="horizontal-row" >
<spacer width="5%" height="100%" />
@ -110,8 +111,6 @@
I18N="In the video settings" text="Apply new resolution" />
</div>
<spacer width="5" height="1%"/>
</box>
</div>
</div>