Skip to content
Snippets Groups Projects
Commit bca2d21d authored by Mike Antipov's avatar Mike Antipov
Browse files

Updates for normal task EXT-6267 ([TRUNCATION] [EN XUI REWORK] - Side panel,...

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
parent d856f1ea
No related branches found
No related tags found
No related merge requests found
...@@ -311,12 +311,15 @@ ...@@ -311,12 +311,15 @@
height="23" height="23"
label="Add Friend" label="Add Friend"
layout="topleft" layout="topleft"
left="2" left="1"
mouse_opaque="false" mouse_opaque="false"
name="add_friend" name="add_friend"
pad_left="1"
pad_right="1"
tool_tip="Offer friendship to the Resident" tool_tip="Offer friendship to the Resident"
top="5" top="5"
width="80" /> use_ellipses="true"
width="105" />
<button <button
follows="bottom|left" follows="bottom|left"
height="23" height="23"
...@@ -325,8 +328,8 @@ ...@@ -325,8 +328,8 @@
name="im" name="im"
tool_tip="Open instant message session" tool_tip="Open instant message session"
top="5" top="5"
left_pad="3" left_pad="0"
width="39" /> width="19" />
<button <button
follows="bottom|left" follows="bottom|left"
height="23" height="23"
...@@ -334,9 +337,12 @@ ...@@ -334,9 +337,12 @@
layout="topleft" layout="topleft"
name="call" name="call"
tool_tip="Call this Resident" tool_tip="Call this Resident"
left_pad="3" left_pad="0"
pad_left="1"
pad_right="1"
top="5" top="5"
width="43" /> use_ellipses="true"
width="48" />
<button <button
enabled="false" enabled="false"
follows="bottom|left" follows="bottom|left"
...@@ -344,10 +350,13 @@ ...@@ -344,10 +350,13 @@
label="Map" label="Map"
layout="topleft" layout="topleft"
name="show_on_map_btn" name="show_on_map_btn"
pad_left="1"
pad_right="1"
tool_tip="Show the Resident on the map" tool_tip="Show the Resident on the map"
top="5" top="5"
left_pad="3" left_pad="0"
width="41" /> use_ellipses="true"
width="33" />
<button <button
follows="bottom|left" follows="bottom|left"
height="23" height="23"
...@@ -355,9 +364,12 @@ ...@@ -355,9 +364,12 @@
layout="topleft" layout="topleft"
name="teleport" name="teleport"
tool_tip="Offer teleport" tool_tip="Offer teleport"
left_pad="3" left_pad="0"
pad_left="1"
pad_right="1"
top="5" top="5"
width="69" /> use_ellipses="true"
width="81" />
<button <button
follows="bottom|right" follows="bottom|right"
height="23" height="23"
...@@ -367,7 +379,6 @@ ...@@ -367,7 +379,6 @@
tool_tip="Pay money to or share inventory with the Resident" tool_tip="Pay money to or share inventory with the Resident"
right="-1" right="-1"
top="5" top="5"
left_pad="3"
width="23" /> width="23" />
</layout_panel> </layout_panel>
<layout_panel <layout_panel
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment