Increase size of the civ selection dropdowns so that the scrollbar disappears.

Increase vertical size of the player selection dropdown in the observer
menu.

Differential Revision: https://code.wildfiregames.com/D527
Proposed and reviewed by: temple
This was SVN commit r19618.
This commit is contained in:
elexis 2017-05-20 22:19:04 +00:00
parent f264552359
commit d6c028923e
4 changed files with 4 additions and 3 deletions

View file

@ -28,7 +28,7 @@
<translatableAttribute id="caption">Civilization Selection</translatableAttribute>
</object>
<object name="civSelection" type="dropdown" style="ModernDropDown" size="50%-96 10 50%+96 40">
<object name="civSelection" type="dropdown" style="ModernDropDown" size="50%-96 10 50%+96 40" dropdown_size="350">
<action on="SelectionChange">selectCiv(this.list_data[this.selected]);</action>
</object>
</object>

View file

@ -120,7 +120,7 @@
>
<translatableAttribute id="tooltip">Configure AI settings.</translatableAttribute>
</object>
<object name="playerCiv[n]" type="dropdown" style="ModernDropDown" size="50%+69 2 85% 30" tooltip_style="onscreenToolTip">
<object name="playerCiv[n]" type="dropdown" style="ModernDropDown" size="50%+69 2 85% 30" tooltip_style="onscreenToolTip" dropdown_size="350">
<translatableAttribute id="tooltip">Select player's civilization.</translatableAttribute>
</object>
<object name="playerCivText[n]" type="text" style="ModernLabelText" size="50%+65 0 85% 30"/>

View file

@ -34,6 +34,7 @@
z="50"
style="ModernDropDown"
tooltip_style="sessionToolTipBold"
dropdown_size="500"
>
<translatableAttribute id="tooltip">Choose player to view</translatableAttribute>
<action on="SelectionChange">selectViewPlayer(this.selected - 1);</action>

View file

@ -30,7 +30,7 @@
<translatableAttribute id="caption">Civilization:</translatableAttribute>
</object>
<object name="civSelection" type="dropdown" style="ModernDropDown" size="100%-160 8 100% 34">
<object name="civSelection" type="dropdown" style="ModernDropDown" size="100%-160 8 100% 34" dropdown_size="350">
<action on="SelectionChange">selectCiv(this.list_data[this.selected]);</action>
</object>
</object>