Fix option device screen for small screen with long text

This commit is contained in:
Benau 2021-05-22 09:06:24 +08:00
parent 04a2306c4c
commit d407bb08e2

View File

@ -29,38 +29,41 @@
<box width="78%" height="100%" layout="vertical-row"> <box width="78%" height="100%" layout="vertical-row">
<!-- Configuration name --> <!-- Configuration name -->
<spacer height="1%" width="10"/> <spacer height="1%" width="10"/>
<label id="title" width="100%" text_align="center" /> <label id="title" width="100%" text_align="center" />
<spacer height="2%" width="10"/> <spacer height="2%" width="10"/>
<!-- List of key bindings --> <!-- List of key bindings -->
<box proportion="10" width="75%" align="center" layout="vertical-row" padding="8"> <box proportion="10" width="75%" align="center" layout="vertical-row" padding="8">
<list id="actions" x="0" y="0" width="100%" height="100%"/> <list id="actions" x="0" y="0" width="100%" height="100%"/>
</box> </box>
<!-- Bottom buttons --> <!-- Bottom buttons -->
<spacer width="50" height="2%" /> <spacer width="50" height="2%" />
<div height="4f" width="100%" layout="horizontal-row"> <div height="4f" width="100%" layout="horizontal-row">
<div height="100%" width="fit" layout="vertical-row"> <div height="100%" width="fit" layout="vertical-row">
<button id="delete" <button id="delete"
I18N="In the input configuration screen" text="Delete Configuration"/> I18N="In the input configuration screen" text="Delete Configuration"/>
<spacer width="50" height="2%" /> <spacer width="50" height="2%" />
<button id="disable_toggle" <button id="disable_toggle"
I18N="In the input configuration screen" text="Disable Configuration"/> I18N="In the input configuration screen" text="Disable Configuration"/>
<spacer width="50" height="2%" /> <spacer width="50" height="2%" />
<button id="back_to_device_list" I18N="In the input configuration screen" text="Back to device list"/> <button id="back_to_device_list" I18N="In the input configuration screen" text="Back to device list"/>
<spacer width="50" height="2%" /> <spacer width="50" height="2%" />
</div> </div>
<spacer width="2%" height="10" /> <spacer width="2%" height="10" />
<div height="100%" width="40%" layout="vertical-row">
<button id="rename_config" I18N="In the input configuration screen" text="Rename Configuration"/> <button id="rename_config" I18N="In the input configuration screen" text="Rename Configuration"/>
<spacer width="5%"/> <spacer height="15%"/>
<checkbox id="force_feedback"/> <div height="1f" width="100%" layout="horizontal-row">
<spacer width="1%"/> <checkbox id="force_feedback"/>
<label id="force_feedback_text" I18N="In the input configuration screen, for gamepad" text="Enable force feedback (if support)"/> <spacer width="3%"/>
</div> <label id="force_feedback_text" I18N="In the input configuration screen, for gamepad" text="Enable force feedback (if support)" word_wrap="true"/>
</div>
</div>
</div>
</box> </box>
</div> </div>
</div> </div>