Fixes #1982: Long class names are cut off in the UI

Corrected HBox, AutoSizedTextBox and TextBox positions and alignment.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
loadfix
Lukasz Gromanowski 10 years ago
parent 02f0b7caa3
commit d7716e7314

@ -69,47 +69,39 @@
</Widget>
<!-- Player level, race and class -->
<Widget type="Widget" skin="MW_Box" position="8 78 212 62" align="Left Top HStretch">
<Widget type="HBox" position="4 4 210 18" align="Left Top">
<Widget type="AutoSizedTextBox" position="0 0 95 18" skin="NormalText" position="4 4 104 18" name="Level_str">
<Widget type="Widget" skin="MW_Box" position="8 78 212 62" align="Top HStretch">
<Widget type="HBox" position="4 4 242 18" align="Left Top">
<Widget type="TextBox" skin="NormalText" position="0 0 200 18" name="Level_str" align="Left Top">
<Property key="Caption" value="#{sLevel}"/>
<UserString key="ToolTipType" value="Layout"/>
<UserString key="ToolTipLayout" value="LevelToolTip"/>
</Widget>
<Widget type="Widget"> <!-- spacer -->
<UserString key="HStretch" value="true"/>
</Widget>
<Widget type="TextBox" skin="SandTextRight" position="124 0 104 18" name="LevelText" align="Right Top HStretch">
<Widget type="TextBox" skin="SandTextRight" position="200 0 40 18" name="LevelText" align="Right Top">
<Property key="TextAlign" value="Right Top"/>
<UserString key="ToolTipType" value="Layout"/>
<UserString key="ToolTipLayout" value="LevelToolTip"/>
</Widget>
</Widget>
<Widget type="HBox" position="4 24 210 18" align="Left Top">
<Widget type="AutoSizedTextBox" position="0 0 95 18" skin="NormalText" position="4 22 100 18" name="Race_str">
<Widget type="HBox" position="4 24 210 18" align="Top HStretch">
<Widget type="AutoSizedTextBox" skin="NormalText" position="0 0 95 18" name="Race_str" align="Left Top">
<Property key="Caption" value="#{sRace}"/>
<UserString key="ToolTipType" value="Layout"/>
<UserString key="ToolTipLayout" value="TextWithCenteredCaptionToolTip"/>
</Widget>
<Widget type="Widget"> <!-- spacer -->
<UserString key="HStretch" value="true"/>
</Widget>
<Widget type="TextBox" skin="SandTextRight" position="124 0 104 18" name="RaceText" align="Right Top HStretch">
<Widget type="TextBox" skin="SandTextRight" position="104 0 200 18" name="RaceText" align="Left Top">
<Property key="TextAlign" value="Right Top"/>
<UserString key="ToolTipType" value="Layout"/>
<UserString key="ToolTipLayout" value="TextWithCenteredCaptionToolTip"/>
</Widget>
</Widget>
<Widget type="HBox" position="4 42 210 18" align="Left Top">
<Widget type="AutoSizedTextBox" position="0 0 95 18" skin="NormalText" name="Class_str">
<Widget type="HBox" position="4 42 210 18" align="Top HStretch">
<Widget type="AutoSizedTextBox" skin="NormalText" position="0 0 95 18" name="Class_str" align="Left Top">
<Property key="Caption" value="#{sClass}"/>
<UserString key="ToolTipType" value="Layout"/>
<UserString key="ToolTipLayout" value="ClassToolTip"/>
</Widget>
<Widget type="Widget"> <!-- spacer -->
<UserString key="HStretch" value="true"/>
</Widget>
<Widget type="TextBox" skin="SandTextRight" position="84 0 164 18" name="ClassText" align="Right Top HStretch">
<Widget type="TextBox" skin="SandTextRight" position="104 0 200 18" name="ClassText" align="Left Top">
<Property key="TextAlign" value="Right Top"/>
<UserString key="ToolTipType" value="Layout"/>
<UserString key="ToolTipLayout" value="ClassToolTip"/>

Loading…
Cancel
Save