Layout tweaks

celladd
Lazaroth 10 years ago
parent 7685de1d50
commit 42363191a4

@ -141,8 +141,6 @@
<Property key="Caption" value="0"/> <Property key="Caption" value="0"/>
</Widget> </Widget>
<Widget type="AutoSizedButton" skin="MW_Button" name="BuyButton"> <Widget type="AutoSizedButton" skin="MW_Button" name="BuyButton">
<Property key="Caption" value="#{sBuy}"/> <Property key="Caption" value="#{sBuy}"/>
</Widget> </Widget>

@ -1,26 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<MyGUI type="Layout"> <MyGUI type="Layout">
<Widget type="Window" skin="MW_Window" layer="Windows" position="0 0 458 284" name="_Main"> <Widget type="Window" skin="MW_Dialog" layer="Windows" position="0 0 418 248" name="_Main">
<Property key="Visible" value="false"/> <Property key="Visible" value="false"/>
<Property key="Caption" value="#{sServiceRepairTitle}"/>
<Property key="MinSize" value="280 186"/>
<Widget type="TextBox" skin="SandText" position="8 8 418 24" align="Left Top"> <Widget type="TextBox" skin="SandText" position="8 18 418 24" align="Right Top">
<Property key="TextAlign" value="Left"/> <Property key="TextAlign" value="Left"/>
<Property key="Caption" value="#{sRepairServiceTitle}"/> <Property key="Caption" value="#{sRepairServiceTitle}"/>
</Widget> </Widget>
<Widget type="TextBox" skin="NormalText" position="0 0 418 24" align="Right Top">
<Property key="TextAlign" value="Center"/>
<Property key="Caption" value="#{sServiceRepairTitle}"/>
</Widget>
<Widget type="Widget" skin="MW_Box" position="8 31 426 177" align="Left Stretch"> <Widget type="Widget" skin="MW_Box" position="10 46 389 156" align="Left Stretch">
<Widget type="ScrollView" skin="MW_ScrollView" position="4 4 419 169" align="Left Top Stretch" name="RepairView"> <Widget type="ScrollView" skin="MW_ScrollView" position="4 4 381 147" align="Left Top Stretch" name="RepairView">
<Property key="CanvasAlign" value="Left Top"/> <Property key="CanvasAlign" value="Left"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="TextBox" skin="SandText" position="8 212 200 24" name="PlayerGold" align="Left Bottom"> <Widget type="TextBox" skin="SandText" position="10 206 300 24" name="PlayerGold" align="Right Top">
<Property key="TextAlign" value="Left"/> <Property key="TextAlign" value="Left"/>
</Widget> </Widget>
<Widget type="AutoSizedButton" skin="MW_Button" position="373 216 60 24" name="OkButton" align="Right Bottom"> <Widget type="AutoSizedButton" skin="MW_Button" position="343 210 56 24" name="OkButton" align="Right Top">
<Property key="ExpandDirection" value="Left"/> <Property key="ExpandDirection" value="Left"/>
<Property key="Caption" value="#{sOK}"/> <Property key="Caption" value="#{sOK}"/>
</Widget> </Widget>

@ -1,17 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<MyGUI type="Layout"> <MyGUI type="Layout">
<Widget type="Window" skin="MW_Dialog" layer="Windows" position="0 0 220 194" name="_Main"> <Widget type="Window" skin="MW_Dialog" layer="Windows" position="0 0 220 192" name="_Main">
<Widget type="TextBox" skin="NormalText" position="0 6 220 24"> <Widget type="TextBox" skin="NormalText" position="0 4 220 24">
<Property key="Caption" value="#{sPersuasionMenuTitle}"/> <Property key="Caption" value="#{sPersuasionMenuTitle}"/>
<Property key="TextAlign" value="Center"/> <Property key="TextAlign" value="Center"/>
</Widget> </Widget>
<Widget type="TextBox" skin="SandText" position="8 156 208 24" name="GoldLabel">
<Property key="TextAlign" value="Left VCenter"/>
</Widget>
<Widget type="Widget" skin="MW_Box" position="8 32 196 115"> <Widget type="Widget" skin="MW_Box" position="8 32 196 115">
<Widget type="AutoSizedButton" skin="SandTextButton" position="4 0 0 18" name="AdmireButton"> <Widget type="AutoSizedButton" skin="SandTextButton" position="4 0 0 18" name="AdmireButton">
<Property key="Caption" value="#{sAdmire}"/> <Property key="Caption" value="#{sAdmire}"/>
@ -39,7 +35,11 @@
</Widget> </Widget>
</Widget> </Widget>
<Widget type="AutoSizedButton" skin="MW_Button" position="204 156 0 24" name="CancelButton"> <Widget type="TextBox" skin="SandText" position="8 152 208 24" name="GoldLabel">
<Property key="TextAlign" value="Left VCenter"/>
</Widget>
<Widget type="AutoSizedButton" skin="MW_Button" position="204 154 0 24" name="CancelButton">
<Property key="ExpandDirection" value="Left"/> <Property key="ExpandDirection" value="Left"/>
<Property key="Caption" value="#{sCancel}"/> <Property key="Caption" value="#{sCancel}"/>
</Widget> </Widget>

@ -1,26 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<MyGUI type="Layout"> <MyGUI type="Layout">
<Widget type="Window" skin="MW_Window" layer="Windows" position="0 0 458 284" name="_Main"> <Widget type="Window" skin="MW_Dialog" layer="Windows" position="0 0 450 306" name="_Main">
<Property key="Visible" value="false"/> <Property key="Visible" value="false"/>
<Property key="Caption" value="#{sServiceSpellsTitle}"/>
<Property key="MinSize" value="280 186"/>
<Widget type="TextBox" skin="SandText" position="8 10 400 18" align="Left Top"> <Widget type="TextBox" skin="SandText" position="8 10 450 18" align="Right Top">
<Property key="TextAlign" value="Left"/> <Property key="TextAlign" value="Left"/>
<Property key="Caption" value="#{sSpellServiceTitle}"/> <Property key="Caption" value="#{sSpellServiceTitle}"/>
</Widget> </Widget>
<Widget type="TextBox" skin="NormalText" position="0 0 450 18" align="Right Top">
<Property key="TextAlign" value="Center"/>
<Property key="Caption" value="#{sServiceSpellsTitle}"/>
</Widget>
<Widget type="Widget" skin="MW_Box" position="8 31 426 177" align="Left Top Stretch"> <Widget type="Widget" skin="MW_Box" position="6 31 430 225" align="Left Stretch">
<Widget type="ScrollView" skin="MW_ScrollView" position="4 4 419 169" align="Left Top Stretch" name="SpellsView"> <Widget type="ScrollView" skin="MW_ScrollView" position="4 4 422 217" align="Left Top Stretch" name="SpellsView">
<Property key="CanvasAlign" value="Left Top"/> <Property key="CanvasAlign" value="Left"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="TextBox" skin="SandText" position="18 212 24 24" name="PlayerGold" align="Left Bottom"> <Widget type="TextBox" skin="SandText" position="8 255 24 24" name="PlayerGold" align="Right Top">
<Property key="TextAlign" value="Left"/> <Property key="TextAlign" value="Right"/>
</Widget> </Widget>
<Widget type="AutoSizedButton" skin="MW_Button" position="373 216 60 24" name="CancelButton" align="Right Bottom"> <Widget type="AutoSizedButton" skin="MW_Button" position="375 260 60 24" name="CancelButton" align="Right Top">
<Property key="ExpandDirection" value="Left"/> <Property key="ExpandDirection" value="Left"/>
<Property key="Caption" value="#{sOK}"/> <Property key="Caption" value="#{sOK}"/>
</Widget> </Widget>

@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<MyGUI type="Layout"> <MyGUI type="Layout">
<Widget type="Window" skin="MW_Dialog" layer="Windows" position="0 0 560 400" name="_Main"> <Widget type="Window" skin="MW_Dialog" layer="Windows" position="0 0 560 394" name="_Main">
<Widget type="HBox" position="12 12 250 30"> <Widget type="HBox" position="12 12 250 30">
<Widget type="AutoSizedTextBox" skin="NormalText"> <Widget type="AutoSizedTextBox" skin="NormalText">
<Property key="Caption" value="#{sName}"/> <Property key="Caption" value="#{sName}"/>
<UserString key="ToolTipType" value="Layout"/> <UserString key="ToolTipType" value="Layout"/>
@ -16,9 +15,7 @@
<UserString key="HStretch" value="true"/> <UserString key="HStretch" value="true"/>
</Widget> </Widget>
<Widget type="Widget"> <Widget type="Widget"/>
</Widget>
</Widget> </Widget>
<Widget type="TextBox" skin="NormalText" position="280 0 300 24"> <Widget type="TextBox" skin="NormalText" position="280 0 300 24">
@ -33,7 +30,6 @@
<Property key="NeedMouse" value="false"/> <Property key="NeedMouse" value="false"/>
</Widget> </Widget>
<Widget type="TextBox" skin="NormalText" position="280 24 300 24"> <Widget type="TextBox" skin="NormalText" position="280 24 300 24">
<Property key="Caption" value="#{sSpellmakingMenu1}"/> <Property key="Caption" value="#{sSpellmakingMenu1}"/>
<Property key="TextAlign" value="Left HCenter"/> <Property key="TextAlign" value="Left HCenter"/>
@ -46,7 +42,6 @@
<Property key="NeedMouse" value="false"/> <Property key="NeedMouse" value="false"/>
</Widget> </Widget>
<!-- Available effects --> <!-- Available effects -->
<Widget type="TextBox" skin="NormalText" position="12 48 300 24"> <Widget type="TextBox" skin="NormalText" position="12 48 300 24">
<Property key="Caption" value="#{sMagicEffects}"/> <Property key="Caption" value="#{sMagicEffects}"/>
@ -70,7 +65,7 @@
</Widget> </Widget>
</Widget> </Widget>
<Widget type="HBox" position="0 340 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="Widget" position="0 0 0 0">
@ -83,8 +78,9 @@
<UserString key="ToolTipLayout" value="TextToolTip"/> <UserString key="ToolTipLayout" value="TextToolTip"/>
<UserString key="Caption_Text" value="#{sSpellmakingHelp4}"/> <UserString key="Caption_Text" value="#{sSpellmakingHelp4}"/>
</Widget> </Widget>
<Widget type="AutoSizedTextBox" skin="SandText" name="PriceLabel">
</Widget>
<Widget type="AutoSizedTextBox" skin="SandText" name="PriceLabel"/>
<Widget type="AutoSizedButton" skin="MW_Button" name="BuyButton"> <Widget type="AutoSizedButton" skin="MW_Button" name="BuyButton">
<Property key="Caption" value="#{sBuy}"/> <Property key="Caption" value="#{sBuy}"/>

@ -29,10 +29,10 @@
</Widget> </Widget>
<Widget type="Widget" skin="" position="8 231 566 92" name="BottomPane" align="Left Bottom HStretch"> <Widget type="Widget" skin="" position="8 231 566 92" name="BottomPane" align="Left Bottom HStretch">
<Widget type="TextBox" skin="SandText" position="192 0 375 24" name="PlayerGold" align="Left Top HStretch"> <Widget type="TextBox" skin="SandText" position="192 0 374 24" name="PlayerGold" align="Left Top HStretch">
<Property key="TextAlign" value="Right"/> <Property key="TextAlign" value="Right"/>
</Widget> </Widget>
<Widget type="TextBox" skin="SandText" position="192 28 375 24" name="MerchantGold" align="Left Top HStretch"> <Widget type="TextBox" skin="SandText" position="192 28 374 24" name="MerchantGold" align="Left Top HStretch">
<Property key="TextAlign" value="Right"/> <Property key="TextAlign" value="Right"/>
</Widget> </Widget>
@ -63,7 +63,6 @@
<Widget type="AutoSizedButton" skin="MW_Button" position="0 60 60 24" name="MaxSaleButton" align="Left Top"> <Widget type="AutoSizedButton" skin="MW_Button" position="0 60 60 24" name="MaxSaleButton" align="Left Top">
<Property key="Caption" value="Max. Sale"/> <!-- GMST sMaxSale doesn't work --> <Property key="Caption" value="Max. Sale"/> <!-- GMST sMaxSale doesn't work -->
</Widget> </Widget>
</Widget> </Widget>
</Widget> </Widget>

@ -1,22 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<MyGUI type="Layout"> <MyGUI type="Layout">
<Widget type="Window" skin="MW_Window" layer="Windows" position="0 0 458 284" name="_Main"> <Widget type="Window" skin="MW_Dialog" layer="Windows" position="0 0 319 200" name="_Main">
<Property key="Visible" value="false"/>
<Property key="Caption" value="#{sServiceTrainingTitle}"/>
<Property key="MinSize" value="280 186"/>
<Widget type="TextBox" skin="SandText" position="8 8 330 24" name="Travel" align="Right Top"> <Widget type="TextBox" skin="NormalText" position="0 5 319 24" name="Select" align="Right Top">
<Property key="TextAlign" value="Center"/>
<Property key="Caption" value="#{sServiceTrainingTitle}"/>
</Widget>
<Widget type="TextBox" skin="SandText" position="5 30 319 24" name="Travel" align="Right Top">
<Property key="TextAlign" value="Left"/> <Property key="TextAlign" value="Left"/>
<Property key="Caption" value="#{sTrainingServiceTitle}"/> <Property key="Caption" value="#{sTrainingServiceTitle}"/>
</Widget> </Widget>
<Widget type="Widget" skin="MW_Box" position="8 31 426 177" align="Left Top Stretch" name="TrainingOptions"/>
<Widget type="TextBox" skin="SandText" position="8 212 200 24" name="PlayerGold" align="Left Bottom"> <Widget type="Widget" skin="MW_Box" position="6 54 299 100" align="Left Top" name="TrainingOptions">
</Widget>
<Widget type="TextBox" skin="SandText" position="8 161 200 24" name="PlayerGold" align="Right Top">
<Property key="TextAlign" value="Left"/> <Property key="TextAlign" value="Left"/>
</Widget> </Widget>
<Widget type="AutoSizedButton" skin="MW_Button" position="373 216 60 24" name="CancelButton" align="Right Bottom"> <Widget type="AutoSizedButton" skin="MW_Button" position="244 161 60 24" name="CancelButton" align="Right Top">
<Property key="ExpandDirection" value="Left"/> <Property key="ExpandDirection" value="Left"/>
<Property key="Caption" value="#{sCancel}"/> <Property key="Caption" value="#{sCancel}"/>
</Widget> </Widget>

@ -1,28 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<MyGUI type="Layout"> <MyGUI type="Layout">
<Widget type="Window" skin="MW_Window" layer="Windows" position="0 0 458 284" name="_Main"> <Widget type="Window" skin="MW_Dialog" layer="Windows" position="0 0 450 304" name="_Main">
<Property key="Visible" value="false"/> <Property key="Visible" value="false"/>
<Property key="Caption" value="#{sServiceTravelTitle}"/>
<Property key="MinSize" value="280 186"/>
<Widget type="TextBox" skin="SandText" position="8 10 400 18" name="Select" align="Left Top"> <Widget type="TextBox" skin="SandText" position="8 10 24 24" name="Select" align="Right Top">
<Property key="TextAlign" value="Left"/> <Property key="TextAlign" value="Right"/>
<Property key="Caption" value="#{sTravelServiceTitle}"/> <Property key="Caption" value="#{sTravelServiceTitle}"/>
</Widget> </Widget>
<Widget type="TextBox" skin="SandText" position="0 0 24 24" name="Travel" align="Right Top">
<Property key="TextAlign" value="Right"/>
<Property key="Caption" value="#D8C09A#{sServiceTravelTitle}"/>
</Widget>
<Widget type="TextBox" skin="SandText" position="0 0 24 24" name="Travel" align="Right Top"/>
<Widget type="Widget" skin="MW_Box" position="8 31 426 177" align="Left Stretch"> <Widget type="Widget" skin="MW_Box" position="6 31 430 225" align="Left Stretch">
<Widget type="ScrollView" skin="MW_ScrollView" position="4 4 419 169" align="Left Top Stretch" name="DestinationsView"> <Widget type="ScrollView" skin="MW_ScrollView" position="4 4 422 217" align="Left Top Stretch" name="DestinationsView">
<Property key="CanvasAlign" value="Left Top"/> <Property key="CanvasAlign" value="Left"/>
</Widget> </Widget>
</Widget> </Widget>
<Widget type="TextBox" skin="SandText" position="18 212 24 24" name="PlayerGold" align="Left Bottom"> <Widget type="TextBox" skin="SandText" position="8 255 24 24" name="PlayerGold" align="Right Top">
<Property key="TextAlign" value="Left"/> <Property key="TextAlign" value="Right"/>
</Widget> </Widget>
<Widget type="AutoSizedButton" skin="MW_Button" position="373 216 60 24" name="CancelButton" align="Right Bottom"> <Widget type="AutoSizedButton" skin="MW_Button" position="375 261 60 24" name="CancelButton" align="Right Top">
<Property key="ExpandDirection" value="Left"/> <Property key="ExpandDirection" value="Left"/>
<Property key="Caption" value="#{sCancel}"/> <Property key="Caption" value="#{sCancel}"/>
</Widget> </Widget>

Loading…
Cancel
Save