forked from mirror/openmw-tes3mp
7685de1d50
Feedback / testing is needed on this. Some small button location tweaks and more importantly, some changes to bring consistency between the Potion maker screen (already in openmw), Trading screen (already in openmw), Spellmaker screen, Travel screen and Training screen. It's mainly the top bar I'm talking about and resizability. It is not 1:1 towards vanilla, but looks better (IMO) and again, creates some consistency. This can probably be expanded to the remaining screens such as Enchanting and Spell and perhaps even the save/load screen to have OpenMW wide consistency.
156 lines
7 KiB
XML
156 lines
7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<MyGUI type="Layout">
|
|
<Widget type="Window" skin="MW_Dialog" layer="Windows" position="0 0 560 400" name="_Main">
|
|
|
|
<Widget type="HBox" position="12 12 250 30">
|
|
|
|
<Widget type="AutoSizedTextBox" skin="NormalText">
|
|
<Property key="Caption" value="#{sName}"/>
|
|
<UserString key="ToolTipType" value="Layout"/>
|
|
<UserString key="ToolTipLayout" value="TextToolTip"/>
|
|
<UserString key="Caption_Text" value="#{sEnchantmentHelp8}"/>
|
|
</Widget>
|
|
|
|
<Widget type="EditBox" skin="MW_TextEdit" position="0 0 30 30" name="NameEdit">
|
|
<UserString key="HStretch" value="true"/>
|
|
</Widget>
|
|
|
|
<Widget type="Widget">
|
|
</Widget>
|
|
|
|
</Widget>
|
|
|
|
<!-- Item -->
|
|
|
|
<Widget type="HBox" position="12 48 400 59">
|
|
<Property key="Spacing" value="8"/>
|
|
|
|
<Widget type="AutoSizedTextBox" skin="NormalText">
|
|
<Property key="Caption" value="#{sItem}"/>
|
|
<UserString key="ToolTipType" value="Layout"/>
|
|
<UserString key="ToolTipLayout" value="TextToolTip"/>
|
|
<UserString key="Caption_Text" value="#{sEnchantmentHelp1}"/>
|
|
</Widget>
|
|
<Widget type="ItemWidget" skin="MW_ItemIconBox" position="0 0 50 50" name="ItemBox">
|
|
</Widget>
|
|
|
|
<Widget type="Widget" position="0 0 8 0"/>
|
|
|
|
<Widget type="AutoSizedTextBox" skin="NormalText">
|
|
<Property key="Caption" value="#{sSoulGem}"/>
|
|
<UserString key="ToolTipType" value="Layout"/>
|
|
<UserString key="ToolTipLayout" value="TextToolTip"/>
|
|
<UserString key="Caption_Text" value="#{sEnchantmentHelp2}"/>
|
|
</Widget>
|
|
<Widget type="ItemWidget" skin="MW_ItemIconBox" position="0 0 50 50" name="SoulBox">
|
|
</Widget>
|
|
|
|
</Widget>
|
|
|
|
<!-- Values -->
|
|
<Widget type="VBox" position="320 8 222 72">
|
|
<Widget type="HBox">
|
|
<UserString key="HStretch" value="true"/>
|
|
<Widget type="AutoSizedTextBox" skin="NormalText">
|
|
<Property key="Caption" value="#{sEnchantmentMenu3}:"/>
|
|
<UserString key="ToolTipType" value="Layout"/>
|
|
<UserString key="ToolTipLayout" value="TextToolTip"/>
|
|
<UserString key="Caption_Text" value="#{sEnchantmentHelp3}"/>
|
|
</Widget>
|
|
<Widget type="AutoSizedTextBox" skin="SandText" name="Enchantment">
|
|
<Property key="Caption" value="1"/>
|
|
<Property key="TextAlign" value="Right VCenter"/>
|
|
<UserString key="HStretch" value="true"/>
|
|
</Widget>
|
|
</Widget>
|
|
<Widget type="HBox">
|
|
<UserString key="HStretch" value="true"/>
|
|
<Widget type="AutoSizedTextBox" skin="NormalText">
|
|
<Property key="Caption" value="#{sCastCost}:"/>
|
|
<UserString key="ToolTipType" value="Layout"/>
|
|
<UserString key="ToolTipLayout" value="TextToolTip"/>
|
|
<UserString key="Caption_Text" value="#{sEnchantmentHelp4}"/>
|
|
</Widget>
|
|
<Widget type="AutoSizedTextBox" skin="SandText" name="CastCost">
|
|
<Property key="Caption" value="39"/>
|
|
<Property key="TextAlign" value="Right VCenter"/>
|
|
<UserString key="HStretch" value="true"/>
|
|
</Widget>
|
|
</Widget>
|
|
<Widget type="HBox">
|
|
<UserString key="HStretch" value="true"/>
|
|
<Widget type="AutoSizedTextBox" skin="NormalText">
|
|
<Property key="Caption" value="#{sCharges}"/>
|
|
<UserString key="ToolTipType" value="Layout"/>
|
|
<UserString key="ToolTipLayout" value="TextToolTip"/>
|
|
<UserString key="Caption_Text" value="#{sEnchantmentHelp5}"/>
|
|
</Widget>
|
|
<Widget type="AutoSizedTextBox" skin="SandText" name="Charge">
|
|
<Property key="Caption" value="39"/>
|
|
<Property key="TextAlign" value="Right VCenter"/>
|
|
<UserString key="HStretch" value="true"/>
|
|
</Widget>
|
|
</Widget>
|
|
</Widget>
|
|
|
|
<!-- Available effects -->
|
|
<Widget type="TextBox" skin="NormalText" position="12 108 300 24">
|
|
<Property key="Caption" value="#{sMagicEffects}"/>
|
|
<UserString key="ToolTipType" value="Layout"/>
|
|
<UserString key="ToolTipLayout" value="TextToolTip"/>
|
|
<UserString key="Caption_Text" value="#{sEnchantmentHelp9}"/>
|
|
</Widget>
|
|
<Widget type="MWList" skin="MW_SimpleList" position="12 136 202 209" name="AvailableEffects">
|
|
</Widget>
|
|
|
|
<!-- Used effects -->
|
|
<Widget type="TextBox" skin="NormalText" position="226 108 300 24">
|
|
<Property key="Caption" value="#{sEffects}"/>
|
|
<UserString key="ToolTipType" value="Layout"/>
|
|
<UserString key="ToolTipLayout" value="TextToolTip"/>
|
|
<UserString key="Caption_Text" value="#{sEnchantmentHelp10}"/>
|
|
</Widget>
|
|
<Widget type="Widget" skin="MW_Box" position="226 136 316 209">
|
|
<Widget type="ScrollView" skin="MW_ScrollViewH" position="4 4 308 201" name="UsedEffects">
|
|
<Property key="CanvasAlign" value="Left Top"/>
|
|
</Widget>
|
|
</Widget>
|
|
|
|
<Widget type="HBox" position="0 340 558 60">
|
|
<Property key="Padding" value="16"/>
|
|
|
|
<Widget type="AutoSizedButton" skin="MW_Button" name="TypeButton">
|
|
<Property key="Caption" value="Constant effect"/>
|
|
<UserString key="ToolTipType" value="Layout"/>
|
|
<UserString key="ToolTipLayout" value="TextToolTip"/>
|
|
<UserString key="Caption_Text" value="#{sEnchantmentHelp7}"/>
|
|
</Widget>
|
|
|
|
<Widget type="Widget">
|
|
<UserString key="HStretch" value="true"/>
|
|
</Widget>
|
|
|
|
<Widget type="AutoSizedTextBox" skin="NormalText" name="PriceTextLabel">
|
|
<Property key="Caption" value="#{sBarterDialog7}"/>
|
|
<UserString key="ToolTipType" value="Layout"/>
|
|
<UserString key="ToolTipLayout" value="TextToolTip"/>
|
|
<UserString key="Caption_Text" value="#{sEnchantmentHelp6}"/>
|
|
</Widget>
|
|
<Widget type="AutoSizedTextBox" skin="SandText" name="PriceLabel">
|
|
<Property key="Caption" value="0"/>
|
|
</Widget>
|
|
|
|
|
|
|
|
<Widget type="AutoSizedButton" skin="MW_Button" name="BuyButton">
|
|
<Property key="Caption" value="#{sBuy}"/>
|
|
</Widget>
|
|
|
|
<Widget type="AutoSizedButton" skin="MW_Button" name="CancelButton">
|
|
<Property key="Caption" value="#{sCancel}"/>
|
|
</Widget>
|
|
</Widget>
|
|
|
|
</Widget>
|
|
</MyGUI>
|