mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 13:23:53 +00:00
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>
This commit is contained in:
parent
02f0b7caa3
commit
d7716e7314
1 changed files with 11 additions and 19 deletions
|
@ -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…
Reference in a new issue