[UI] Let the 'Dimensions' text on texture preview floaters be as wide as it wants to be so enbiggenized font sizes don't truncate it.

This commit is contained in:
Router Gray
2020-06-07 20:03:42 -05:00
parent 881cc46aa9
commit 5610eaa839
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@
label="Copy To Inventory" left="9" mouse_opaque="true" name="Copy To Inventory" scale_image="true" width="170" />
<text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
bottom="35" drop_shadow_visible="true" enabled="true" follows="left|bottom" font="SansSerifSmall" h_pad="0"
halign="left" height="14" left="13" mouse_opaque="true" name="dimensions" v_pad="0" width="135">
halign="left" height="14" left="13" mouse_opaque="true" name="dimensions" v_pad="0">
Dimensions: [WIDTH] x [HEIGHT]
</text>
<text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false"

View File

@@ -23,7 +23,7 @@
<text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
bottom="30" drop_shadow_visible="true" enabled="true" follows="left|bottom"
font="SansSerifSmall" h_pad="0" halign="left" height="14" left="13"
mouse_opaque="true" name="dimensions" v_pad="0" width="163">
mouse_opaque="true" name="dimensions" v_pad="0">
Dimensions: [WIDTH] x [HEIGHT]
</text>
</floater>