mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 07:53:53 +00:00
Clean up layout files to use Spacer class
This commit is contained in:
parent
a3f821cdcd
commit
cc3c27f241
15 changed files with 17 additions and 51 deletions
|
@ -76,9 +76,7 @@
|
||||||
|
|
||||||
<Widget type="HBox" skin="" position="110 374 452 24" align="Bottom Right">
|
<Widget type="HBox" skin="" position="110 374 452 24" align="Bottom Right">
|
||||||
|
|
||||||
<Widget type="Widget">
|
<Widget type="Spacer"/>
|
||||||
<UserString key="HStretch" value="true"/>
|
|
||||||
</Widget>
|
|
||||||
|
|
||||||
<Widget type="AutoSizedButton" skin="MW_Button" name="CreateButton">
|
<Widget type="AutoSizedButton" skin="MW_Button" name="CreateButton">
|
||||||
<Property key="Caption" value="#{sCreate}"/>
|
<Property key="Caption" value="#{sCreate}"/>
|
||||||
|
|
|
@ -17,9 +17,7 @@
|
||||||
|
|
||||||
<!-- Dialog buttons -->
|
<!-- Dialog buttons -->
|
||||||
<Widget type="HBox" position="0 338 511 24">
|
<Widget type="HBox" position="0 338 511 24">
|
||||||
<Widget type="Widget">
|
<Widget type="Spacer"/>
|
||||||
<UserString key="HStretch" value="true"/>
|
|
||||||
</Widget>
|
|
||||||
<Widget type="AutoSizedButton" skin="MW_Button" name="BackButton">
|
<Widget type="AutoSizedButton" skin="MW_Button" name="BackButton">
|
||||||
<Property key="Caption" value="#{sBack}"/>
|
<Property key="Caption" value="#{sBack}"/>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
|
@ -74,9 +74,7 @@
|
||||||
|
|
||||||
<!-- Dialog buttons -->
|
<!-- Dialog buttons -->
|
||||||
<Widget type="HBox" position="0 276 475 24">
|
<Widget type="HBox" position="0 276 475 24">
|
||||||
<Widget type="Widget">
|
<Widget type="Spacer"/>
|
||||||
<UserString key="HStretch" value="true"/>
|
|
||||||
</Widget>
|
|
||||||
<Widget type="AutoSizedButton" skin="MW_Button" name="BackButton">
|
<Widget type="AutoSizedButton" skin="MW_Button" name="BackButton">
|
||||||
<Property key="Caption" value="#{sBack}"/>
|
<Property key="Caption" value="#{sBack}"/>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
|
@ -75,9 +75,7 @@
|
||||||
|
|
||||||
<!-- Dialog buttons -->
|
<!-- Dialog buttons -->
|
||||||
<Widget type="HBox" position="0 158 482 24">
|
<Widget type="HBox" position="0 158 482 24">
|
||||||
<Widget type="Widget">
|
<Widget type="Spacer"/>
|
||||||
<UserString key="HStretch" value="true"/>
|
|
||||||
</Widget>
|
|
||||||
<Widget type="AutoSizedButton" skin="MW_Button" name="DescriptionButton">
|
<Widget type="AutoSizedButton" skin="MW_Button" name="DescriptionButton">
|
||||||
<Property key="Caption" value="#{sCreateClassMenu1}"/>
|
<Property key="Caption" value="#{sCreateClassMenu1}"/>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
|
@ -76,9 +76,7 @@
|
||||||
|
|
||||||
<!-- Dialog buttons -->
|
<!-- Dialog buttons -->
|
||||||
<Widget type="HBox" position="0 393 572 24">
|
<Widget type="HBox" position="0 393 572 24">
|
||||||
<Widget type="Widget">
|
<Widget type="Spacer"/>
|
||||||
<UserString key="HStretch" value="true"/>
|
|
||||||
</Widget>
|
|
||||||
|
|
||||||
<Widget type="AutoSizedButton" skin="MW_Button" position="471 397 53 23" name="BackButton">
|
<Widget type="AutoSizedButton" skin="MW_Button" position="471 397 53 23" name="BackButton">
|
||||||
<Property key="Caption" value="#{sBack}"/>
|
<Property key="Caption" value="#{sBack}"/>
|
||||||
|
|
|
@ -112,9 +112,7 @@
|
||||||
|
|
||||||
<!-- Dialogue Buttons -->
|
<!-- Dialogue Buttons -->
|
||||||
<Widget type="HBox" position="0 388 525 24">
|
<Widget type="HBox" position="0 388 525 24">
|
||||||
<Widget type="Widget">
|
<Widget type="Spacer"/>
|
||||||
<UserString key="HStretch" value="true"/>
|
|
||||||
</Widget>
|
|
||||||
<Widget type="AutoSizedButton" skin="MW_Button" name="BackButton">
|
<Widget type="AutoSizedButton" skin="MW_Button" name="BackButton">
|
||||||
<Property key="Caption" value="#{sBack}"/>
|
<Property key="Caption" value="#{sBack}"/>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
|
@ -94,9 +94,7 @@
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="HBox" position="8 266 336 24">
|
<Widget type="HBox" position="8 266 336 24">
|
||||||
<Widget type="Widget">
|
<Widget type="Spacer"/>
|
||||||
<UserString key="HStretch" value="true"/>
|
|
||||||
</Widget>
|
|
||||||
|
|
||||||
<Widget type="AutoSizedButton" skin="MW_Button" name="DeleteButton">
|
<Widget type="AutoSizedButton" skin="MW_Button" name="DeleteButton">
|
||||||
<Property key="Caption" value="#{sDelete}"/>
|
<Property key="Caption" value="#{sDelete}"/>
|
||||||
|
|
|
@ -16,9 +16,7 @@
|
||||||
|
|
||||||
<Widget type="HBox" position="13 200 303 24">
|
<Widget type="HBox" position="13 200 303 24">
|
||||||
<Property key="Spacing" value="6"/>
|
<Property key="Spacing" value="6"/>
|
||||||
<Widget type="Widget">
|
<Widget type="Spacer"/>
|
||||||
<UserString key="HStretch" value="true"/>
|
|
||||||
</Widget>
|
|
||||||
<Widget type="AutoSizedButton" skin="MW_Button" name="DeleteButton">
|
<Widget type="AutoSizedButton" skin="MW_Button" name="DeleteButton">
|
||||||
<Property key="Caption" value="#{sDelete}"/>
|
<Property key="Caption" value="#{sDelete}"/>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
|
@ -36,9 +36,7 @@
|
||||||
<Widget type="ItemWidget" skin="MW_ItemIconBox" position="0 0 50 50" name="ItemBox">
|
<Widget type="ItemWidget" skin="MW_ItemIconBox" position="0 0 50 50" name="ItemBox">
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="Widget" position="0 0 8 0">
|
<Widget type="Spacer"/>
|
||||||
<UserString key="HStretch" value="true"/>
|
|
||||||
</Widget>
|
|
||||||
|
|
||||||
<Widget type="AutoSizedTextBox" skin="NormalText">
|
<Widget type="AutoSizedTextBox" skin="NormalText">
|
||||||
<Property key="Caption" value="#{sSoulGem}"/>
|
<Property key="Caption" value="#{sSoulGem}"/>
|
||||||
|
@ -141,9 +139,7 @@
|
||||||
<UserString key="Caption_Text" value="#{sEnchantmentHelp7}"/>
|
<UserString key="Caption_Text" value="#{sEnchantmentHelp7}"/>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="Widget">
|
<Widget type="Spacer"/>
|
||||||
<UserString key="HStretch" value="true"/>
|
|
||||||
</Widget>
|
|
||||||
|
|
||||||
<Widget type="AutoSizedTextBox" skin="NormalText" name="PriceTextLabel">
|
<Widget type="AutoSizedTextBox" skin="NormalText" name="PriceTextLabel">
|
||||||
<Property key="Caption" value="#{sBarterDialog7}"/>
|
<Property key="Caption" value="#{sBarterDialog7}"/>
|
||||||
|
|
|
@ -156,9 +156,7 @@
|
||||||
|
|
||||||
<Widget type="HBox" skin="" position="0 0 330 24">
|
<Widget type="HBox" skin="" position="0 0 330 24">
|
||||||
<UserString key="HStretch" value="true"/>
|
<UserString key="HStretch" value="true"/>
|
||||||
<Widget type="Widget">
|
<Widget type="Spacer"/>
|
||||||
<UserString key="HStretch" value="true"/>
|
|
||||||
</Widget>
|
|
||||||
<Widget type="AutoSizedButton" skin="MW_Button" position="0 0 0 24" name="OkButton">
|
<Widget type="AutoSizedButton" skin="MW_Button" position="0 0 0 24" name="OkButton">
|
||||||
<Property key="Caption" value="#{sOk}"/>
|
<Property key="Caption" value="#{sOk}"/>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
|
@ -27,9 +27,7 @@
|
||||||
</Widget>
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="Widget">
|
<Widget type="Spacer"/>
|
||||||
<UserString key="HStretch" value="true"/>
|
|
||||||
</Widget>
|
|
||||||
|
|
||||||
<Widget type="AutoSizedButton" skin="MW_Button" name="CancelButton">
|
<Widget type="AutoSizedButton" skin="MW_Button" name="CancelButton">
|
||||||
<Property key="Caption" value="#{sCancel}"/>
|
<Property key="Caption" value="#{sCancel}"/>
|
||||||
|
|
|
@ -34,9 +34,7 @@
|
||||||
</Widget>
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="Widget">
|
<Widget type="Spacer"/>
|
||||||
<UserString key="HStretch" value="true"/>
|
|
||||||
</Widget>
|
|
||||||
|
|
||||||
<Widget type="AutoSizedButton" skin="MW_Button" name="CancelButton">
|
<Widget type="AutoSizedButton" skin="MW_Button" name="CancelButton">
|
||||||
<Property key="Caption" value="#{sCancel}"/>
|
<Property key="Caption" value="#{sCancel}"/>
|
||||||
|
|
|
@ -68,9 +68,7 @@
|
||||||
<Widget type="HBox" position="0 336 558 60">
|
<Widget type="HBox" position="0 336 558 60">
|
||||||
<Property key="Padding" value="16"/>
|
<Property key="Padding" value="16"/>
|
||||||
|
|
||||||
<Widget type="Widget" position="0 0 0 0">
|
<Widget type="Spacer"/>
|
||||||
<UserString key="HStretch" value="true"/>
|
|
||||||
</Widget>
|
|
||||||
|
|
||||||
<Widget type="AutoSizedTextBox" skin="NormalText">
|
<Widget type="AutoSizedTextBox" skin="NormalText">
|
||||||
<Property key="Caption" value="#{sBarterDialog7}"/>
|
<Property key="Caption" value="#{sBarterDialog7}"/>
|
||||||
|
|
|
@ -103,9 +103,7 @@
|
||||||
<Widget type="VBox">
|
<Widget type="VBox">
|
||||||
<UserString key="VStretch" value="true"/>
|
<UserString key="VStretch" value="true"/>
|
||||||
<Widget type="ImageBox" skin="ImageBox" position="8 8 32 32" align="Left Top" name="HandToHandImage"/>
|
<Widget type="ImageBox" skin="ImageBox" position="8 8 32 32" align="Left Top" name="HandToHandImage"/>
|
||||||
<Widget type="Widget">
|
<Widget type="Spacer"/>
|
||||||
<UserString key="VStretch" value="true"/>
|
|
||||||
</Widget>
|
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="AutoSizedTextBox" skin="SandText" position="44 8 248 284" align="Left Top" name="HandToHandText">
|
<Widget type="AutoSizedTextBox" skin="SandText" position="44 8 248 284" align="Left Top" name="HandToHandText">
|
||||||
|
@ -122,9 +120,7 @@
|
||||||
<Widget type="VBox">
|
<Widget type="VBox">
|
||||||
<UserString key="VStretch" value="true"/>
|
<UserString key="VStretch" value="true"/>
|
||||||
<Widget type="ImageBox" skin="ImageBox" position="8 8 32 32" align="Left Top" name="HealthImage"/>
|
<Widget type="ImageBox" skin="ImageBox" position="8 8 32 32" align="Left Top" name="HealthImage"/>
|
||||||
<Widget type="Widget">
|
<Widget type="Spacer"/>
|
||||||
<UserString key="VStretch" value="true"/>
|
|
||||||
</Widget>
|
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="AutoSizedEditBox" skin="SandText" position="44 8 392 0" align="Left Top" name="HealthDescription">
|
<Widget type="AutoSizedEditBox" skin="SandText" position="44 8 392 0" align="Left Top" name="HealthDescription">
|
||||||
|
|
|
@ -26,9 +26,7 @@
|
||||||
|
|
||||||
<Widget type="HBox">
|
<Widget type="HBox">
|
||||||
<UserString key="HStretch" value="true"/>
|
<UserString key="HStretch" value="true"/>
|
||||||
<Widget type="Widget">
|
<Widget type="Spacer"/>
|
||||||
<UserString key="HStretch" value="true"/>
|
|
||||||
</Widget>
|
|
||||||
|
|
||||||
<Widget type="AutoSizedButton" skin="MW_Button" name="UntilHealedButton">
|
<Widget type="AutoSizedButton" skin="MW_Button" name="UntilHealedButton">
|
||||||
<Property key="Caption" value="#{sUntilHealed}"/>
|
<Property key="Caption" value="#{sUntilHealed}"/>
|
||||||
|
|
Loading…
Reference in a new issue