Draw ellipses in inventory status text if it gets too long

Wed, 13 Dec 2017 13:20:29 +0100

author
Ansariel
date
Wed, 13 Dec 2017 13:20:29 +0100
changeset 53571
887b2e45b2ee
parent 53570
7ff990646a76
child 53572
0229c29c8001

Draw ellipses in inventory status text if it gets too long

indra/newview/skins/ansastorm/xui/en/panel_main_inventory.xml file | annotate | diff | revisions
indra/newview/skins/default/xui/en/panel_main_inventory.xml file | annotate | diff | revisions
indra/newview/skins/starlight/xui/en/panel_main_inventory.xml file | annotate | diff | revisions
indra/newview/skins/starlightcui/xui/en/panel_main_inventory.xml file | annotate | diff | revisions
indra/newview/skins/vintage/xui/en/panel_main_inventory.xml file | annotate | diff | revisions
     1.1 --- a/indra/newview/skins/ansastorm/xui/en/panel_main_inventory.xml	Wed Dec 13 13:07:07 2017 +0100
     1.2 +++ b/indra/newview/skins/ansastorm/xui/en/panel_main_inventory.xml	Wed Dec 13 13:20:29 2017 +0100
     1.3 @@ -651,8 +651,9 @@
     1.4             font="SansSerifMedium"
     1.5             top_pad="6"
     1.6             tool_tip="[ITEMS] Items, [CATEGORIES] Folders"
     1.7 +           use_ellipses="true"
     1.8             follows="bottom|left|right"
     1.9 -           width="240">
    1.10 +           right="-8">
    1.11            Elements
    1.12            </text>
    1.13            <icon
     2.1 --- a/indra/newview/skins/default/xui/en/panel_main_inventory.xml	Wed Dec 13 13:07:07 2017 +0100
     2.2 +++ b/indra/newview/skins/default/xui/en/panel_main_inventory.xml	Wed Dec 13 13:20:29 2017 +0100
     2.3 @@ -238,8 +238,9 @@
     2.4             font="SansSerifMedium"
     2.5             top_pad="6"
     2.6             tool_tip="[ITEMS] Items, [CATEGORIES] Folders"
     2.7 +           use_ellipses="true"
     2.8             follows="bottom|left|right"
     2.9 -           width="170">
    2.10 +           right="-8">
    2.11            Elements
    2.12            </text>
    2.13            <icon
     3.1 --- a/indra/newview/skins/starlight/xui/en/panel_main_inventory.xml	Wed Dec 13 13:07:07 2017 +0100
     3.2 +++ b/indra/newview/skins/starlight/xui/en/panel_main_inventory.xml	Wed Dec 13 13:20:29 2017 +0100
     3.3 @@ -27,7 +27,7 @@
     3.4    <text
     3.5  		     type="string"
     3.6  		     length="1"
     3.7 -		     follows="left|top"
     3.8 +		     follows="left|top|right"
     3.9  		     height="13"
    3.10  		     layout="topleft"
    3.11      		 left="12"
    3.12 @@ -35,6 +35,7 @@
    3.13  		     font="SansSerifMedium"
    3.14  		     text_color="EmphasisColor"
    3.15  		     tool_tip="[ITEMS] Items, [CATEGORIES] Folders"
    3.16 +		     use_ellipses="true"
    3.17  		     top_pad="0"
    3.18  		     width="300">
    3.19      Elements:
     4.1 --- a/indra/newview/skins/starlightcui/xui/en/panel_main_inventory.xml	Wed Dec 13 13:07:07 2017 +0100
     4.2 +++ b/indra/newview/skins/starlightcui/xui/en/panel_main_inventory.xml	Wed Dec 13 13:20:29 2017 +0100
     4.3 @@ -29,7 +29,7 @@
     4.4    <text
     4.5  		     type="string"
     4.6  		     length="1"
     4.7 -		     follows="left|top"
     4.8 +		     follows="left|top|right"
     4.9  		     height="13"
    4.10  		     layout="topleft"
    4.11      		 left="12"
    4.12 @@ -37,6 +37,7 @@
    4.13  		     font="SansSerifMedium"
    4.14  		     text_color="SL-EmphasisColor"
    4.15  		     tool_tip="[ITEMS] Items, [CATEGORIES] Folders"
    4.16 +		     use_ellipses="true"
    4.17  		     top_pad="0"
    4.18  		     width="300">
    4.19      Elements:
     5.1 --- a/indra/newview/skins/vintage/xui/en/panel_main_inventory.xml	Wed Dec 13 13:07:07 2017 +0100
     5.2 +++ b/indra/newview/skins/vintage/xui/en/panel_main_inventory.xml	Wed Dec 13 13:20:29 2017 +0100
     5.3 @@ -538,8 +538,9 @@
     5.4  		left_delta="2"
     5.5  		name="ItemcountText"
     5.6  		right="-1"
     5.7 +		use_ellipses="true"
     5.8  		font="SansSerifMedium"
     5.9 -		follows="bottom|left">
    5.10 +		follows="bottom|left|right">
    5.11  		Elements
    5.12  	</text>
    5.13  

mercurial