Enable word wrap in screens where text could be too long
This commit is contained in:
parent
b2dd555117
commit
fb6bedc101
@ -6,19 +6,19 @@
|
||||
<buttonbar id="menu_toprow" proportion="3" width="90%" align="center">
|
||||
<icon-button id="story" width="128" height="128"
|
||||
icon="gui/icons/menu_story.png" focus_icon="gui/icons/menu_story_focus.png"
|
||||
I18N="Main menu button" text="Story Mode"/>
|
||||
I18N="Main menu button" text="Story Mode" word_wrap="true"/>
|
||||
<icon-button id="new" width="128" height="128"
|
||||
icon="gui/icons/menu_race.png" focus_icon="gui/icons/menu_race_focus.png"
|
||||
I18N="Main menu button" text="Singleplayer"/>
|
||||
I18N="Main menu button" text="Singleplayer" word_wrap="true"/>
|
||||
<icon-button id="multiplayer" width="128" height="128"
|
||||
icon="gui/icons/menu_multi.png" focus_icon="gui/icons/menu_multi_focus.png"
|
||||
I18N="Main menu button" text="Splitscreen Multiplayer"/>
|
||||
I18N="Main menu button" text="Splitscreen Multiplayer" word_wrap="true"/>
|
||||
<icon-button id="online" width="128" height="128"
|
||||
icon="gui/icons/menu_online.png" focus_icon="gui/icons/menu_online_focus.png"
|
||||
I18N="Main menu button" text="Online"/>
|
||||
I18N="Main menu button" text="Online" word_wrap="true"/>
|
||||
<icon-button id="addons" width="128" height="128"
|
||||
icon="gui/icons/menu_addons.png" focus_icon="gui/icons/menu_addons_focus.png"
|
||||
I18N="Main menu button" text="Addons"/>
|
||||
I18N="Main menu button" text="Addons" word_wrap="true"/>
|
||||
</buttonbar>
|
||||
|
||||
<spacer width="10" height="6%"/>
|
||||
|
@ -21,16 +21,16 @@
|
||||
<buttonbar id="menu_toprow" proportion="3" width="90%" align="center">
|
||||
<icon-button id="lan" width="128" height="128"
|
||||
icon="gui/icons/menu_multi.png" focus_icon="gui/icons/menu_multi_focus.png"
|
||||
I18N="Networking menu button" text="Local networking"/>
|
||||
I18N="Networking menu button" text="Local networking" word_wrap="true"/>
|
||||
<icon-button id="wan" width="128" height="128"
|
||||
icon="gui/icons/menu_online.png" focus_icon="gui/icons/menu_online_focus.png"
|
||||
I18N="Networking menu button" text="Global networking"/>
|
||||
I18N="Networking menu button" text="Global networking" word_wrap="true"/>
|
||||
<icon-button id="enter-address" width="128" height="128"
|
||||
icon="gui/icons/online/menu_quick_play.png" focus_icon="gui/icons/online/menu_quick_play_hover.png"
|
||||
I18N="Networking menu button" text="Enter server address"/>
|
||||
I18N="Networking menu button" text="Enter server address" word_wrap="true"/>
|
||||
<icon-button id="online" width="128" height="128"
|
||||
icon="gui/icons/menu_online.png" focus_icon="gui/icons/menu_online_focus.png"
|
||||
I18N="Networking menu button" text="Your profile"/>
|
||||
I18N="Networking menu button" text="Your profile" word_wrap="true"/>
|
||||
</buttonbar>
|
||||
|
||||
<spacer height="5%" width="10"/>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<div id="result-table" width="100%" height="80%">
|
||||
<!-- Contents is added programatically -->
|
||||
</div>
|
||||
<spacer height="3%" width="100%"/>
|
||||
<spacer height="2%" width="100%"/>
|
||||
<!-- The actual button texts will vary depending on what type of race
|
||||
was being run, and if something was unlocked etc. So we don't
|
||||
specify a text here, and label the buttons :
|
||||
@ -16,12 +16,11 @@
|
||||
Setting text=" " is important, otherwise the height of the
|
||||
widget is incorrect. -->
|
||||
<buttonbar id="operations" width="65%" height="18%" align="center">
|
||||
<icon-button id="left" icon="gui/icons/green_check.png" width="128" height="128" raw_text="Left"/>
|
||||
<icon-button id="middle" icon="gui/icons/green_check.png" width="128" height="128" raw_text="Middle"/>
|
||||
<icon-button id="right" icon="gui/icons/green_check.png" width="128" height="128" raw_text="Right"/>
|
||||
<icon-button id="left" icon="gui/icons/green_check.png" width="100" height="100" raw_text="Left" word_wrap="true"/>
|
||||
<icon-button id="middle" icon="gui/icons/green_check.png" width="100" height="100" raw_text="Middle" word_wrap="true"/>
|
||||
<icon-button id="right" icon="gui/icons/green_check.png" width="100" height="100" raw_text="Right" word_wrap="true"/>
|
||||
</buttonbar>
|
||||
</div>
|
||||
</roundedbox>
|
||||
<spacer height="3%" width="90%"/>
|
||||
</div>
|
||||
</stkgui>
|
||||
|
Loading…
Reference in New Issue
Block a user