Updates for normal task EXT-6267 ([TRUNCATION] [EN XUI REWORK] - Side panel, profiles: the teleport button is truncated. need 'en' xui designer rework)

* 'en/panel_profile.xml' was redesigned. Assuming that 'de' locale doesn't have width overridden:
 ** added ellipses to buttons' labels to get possibility found truncation easier (except for IM button)
 ** reduced distance between buttons
 ** reduced padding from left/right sides to 1 px

But there are still issue in two locales:
'es' for "add friend"
'pt' for "teleport"
These buttons can not be shown properly with default widths.

Note: 'de' & 'fr' locales have overridden width (not removed in the patch)

--HG--
branch : product-engine
meow-7.2.2
Mike Antipov 2010-03-18 16:10:16 +02:00
parent d856f1ea95
commit bca2d21df6
1 changed files with 22 additions and 11 deletions

View File

@ -311,12 +311,15 @@
height="23"
label="Add Friend"
layout="topleft"
left="2"
left="1"
mouse_opaque="false"
name="add_friend"
pad_left="1"
pad_right="1"
tool_tip="Offer friendship to the Resident"
top="5"
width="80" />
use_ellipses="true"
width="105" />
<button
follows="bottom|left"
height="23"
@ -325,8 +328,8 @@
name="im"
tool_tip="Open instant message session"
top="5"
left_pad="3"
width="39" />
left_pad="0"
width="19" />
<button
follows="bottom|left"
height="23"
@ -334,9 +337,12 @@
layout="topleft"
name="call"
tool_tip="Call this Resident"
left_pad="3"
left_pad="0"
pad_left="1"
pad_right="1"
top="5"
width="43" />
use_ellipses="true"
width="48" />
<button
enabled="false"
follows="bottom|left"
@ -344,10 +350,13 @@
label="Map"
layout="topleft"
name="show_on_map_btn"
pad_left="1"
pad_right="1"
tool_tip="Show the Resident on the map"
top="5"
left_pad="3"
width="41" />
left_pad="0"
use_ellipses="true"
width="33" />
<button
follows="bottom|left"
height="23"
@ -355,9 +364,12 @@
layout="topleft"
name="teleport"
tool_tip="Offer teleport"
left_pad="3"
left_pad="0"
pad_left="1"
pad_right="1"
top="5"
width="69" />
use_ellipses="true"
width="81" />
<button
follows="bottom|right"
height="23"
@ -367,7 +379,6 @@
tool_tip="Pay money to or share inventory with the Resident"
right="-1"
top="5"
left_pad="3"
width="23" />
</layout_panel>
<layout_panel