forked from teamnwah/openmw-tes3coop
Progress bars vertical alignment
This commit is contained in:
parent
658ab5e941
commit
7d09a5d644
8 changed files with 21 additions and 31 deletions
|
@ -167,7 +167,7 @@ namespace MWGui
|
||||||
Gui::MWList* mTopicsList;
|
Gui::MWList* mTopicsList;
|
||||||
MyGUI::ScrollBar* mScrollBar;
|
MyGUI::ScrollBar* mScrollBar;
|
||||||
MyGUI::ProgressBar* mDispositionBar;
|
MyGUI::ProgressBar* mDispositionBar;
|
||||||
MyGUI::EditBox* mDispositionText;
|
MyGUI::TextBox* mDispositionText;
|
||||||
|
|
||||||
PersuasionDialog mPersuasionDialog;
|
PersuasionDialog mPersuasionDialog;
|
||||||
};
|
};
|
||||||
|
|
|
@ -16,9 +16,11 @@
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<!-- The disposition bar-->
|
<!-- The disposition bar-->
|
||||||
<Widget type="ProgressBar" skin="MW_EnergyBar_Blue" position="398 8 166 18"
|
<Widget type="ProgressBar" skin="MW_Progress_Blue" position="398 8 166 18"
|
||||||
align="Right Top" name="Disposition">
|
align="Right Top" name="Disposition">
|
||||||
<Widget type="EditBox" skin="MW_DispositionEdit" position_real="0 0 1 1" align="Stretch" name="DispositionText"/>
|
<Widget type="TextBox" skin="ProgressText" position="0 0 166 14" name="DispositionText" align="Right VCenter">
|
||||||
|
<Property key="NeedMouse" value="false"/>
|
||||||
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
<!-- The list of topics -->
|
<!-- The list of topics -->
|
||||||
<Widget type="MWList" skin="MW_SimpleList" position="398 31 166 328" name="TopicsList" align="Right VStretch">
|
<Widget type="MWList" skin="MW_SimpleList" position="398 31 166 328" name="TopicsList" align="Right VStretch">
|
||||||
|
|
|
@ -1,14 +1,4 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<MyGUI type="Resource" version="1.1">
|
<MyGUI type="Resource" version="1.1">
|
||||||
|
|
||||||
<Resource type="ResourceSkin" name="MW_DispositionEdit" size="0 0 50 50">
|
|
||||||
<Property key="FontName" value="Default"/>
|
|
||||||
<Property key="TextAlign" value="Center"/>
|
|
||||||
<Property key="Static" value="1"/>
|
|
||||||
<Property key="WordWrap" value="true"/>
|
|
||||||
<Property key="TextShadow" value="true"/>
|
|
||||||
<Child type="TextBox" skin="SandText" offset="0 0 0 -4" align="Stretch" name="Client"/>
|
|
||||||
</Resource>
|
|
||||||
|
|
||||||
</MyGUI>
|
</MyGUI>
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
</Resource>
|
</Resource>
|
||||||
<Resource type="ResourceSkin" name="ProgressText" size="16 16">
|
<Resource type="ResourceSkin" name="ProgressText" size="16 16">
|
||||||
<Property key="FontName" value="Default"/>
|
<Property key="FontName" value="Default"/>
|
||||||
<Property key="TextAlign" value="Top HCenter"/>
|
<Property key="TextAlign" value="VCenter HCenter"/>
|
||||||
<Property key="TextColour" value="#{fontcolour=normal}"/>
|
<Property key="TextColour" value="#{fontcolour=normal}"/>
|
||||||
<Property key="TextShadow" value="true"/>
|
<Property key="TextShadow" value="true"/>
|
||||||
|
|
||||||
|
|
|
@ -20,9 +20,9 @@
|
||||||
</Widget>
|
</Widget>
|
||||||
<Widget type="ProgressBar" skin="MW_Progress_Red" position="74 0 130 18" name="HBar" align="Right Top">
|
<Widget type="ProgressBar" skin="MW_Progress_Red" position="74 0 130 18" name="HBar" align="Right Top">
|
||||||
<Property key="NeedMouse" value="false"/>
|
<Property key="NeedMouse" value="false"/>
|
||||||
</Widget>
|
<Widget type="TextBox" skin="ProgressText" position="0 0 130 14" name="HBarT" align="Right VCenter">
|
||||||
<Widget type="TextBox" skin="ProgressText" position="74 0 130 18" name="HBarT" align="Right Top">
|
<Property key="NeedMouse" value="false"/>
|
||||||
<Property key="NeedMouse" value="false"/>
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
|
@ -40,10 +40,9 @@
|
||||||
|
|
||||||
<Widget type="ProgressBar" skin="MW_Progress_Blue" position="74 0 130 18" name="MBar" align="Right Top">
|
<Widget type="ProgressBar" skin="MW_Progress_Blue" position="74 0 130 18" name="MBar" align="Right Top">
|
||||||
<Property key="NeedMouse" value="false"/>
|
<Property key="NeedMouse" value="false"/>
|
||||||
</Widget>
|
<Widget type="TextBox" skin="ProgressText" position="0 0 130 14" name="MBarT" align="Right VCenter">
|
||||||
|
<Property key="NeedMouse" value="false"/>
|
||||||
<Widget type="TextBox" skin="ProgressText" position="74 0 130 18" name="MBarT" align="Right Top">
|
</Widget>
|
||||||
<Property key="NeedMouse" value="false"/>
|
|
||||||
</Widget>
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
|
@ -61,9 +60,9 @@
|
||||||
|
|
||||||
<Widget type="ProgressBar" skin="MW_Progress_Green" position="74 0 130 18" name="FBar" align="Right Top">
|
<Widget type="ProgressBar" skin="MW_Progress_Green" position="74 0 130 18" name="FBar" align="Right Top">
|
||||||
<Property key="NeedMouse" value="false"/>
|
<Property key="NeedMouse" value="false"/>
|
||||||
</Widget>
|
<Widget type="TextBox" skin="ProgressText" position="0 0 130 14" name="FBarT" align="Right VCenter">
|
||||||
<Widget type="TextBox" skin="ProgressText" position="74 0 130 18" name="FBarT" align="Right Top">
|
<Property key="NeedMouse" value="false"/>
|
||||||
<Property key="NeedMouse" value="false"/>
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
|
@ -134,12 +134,12 @@ color_misc=0,205,205 # ????
|
||||||
|
|
||||||
<Resource type="ResourceSkin" name="MW_ChargeBar" size="204 18">
|
<Resource type="ResourceSkin" name="MW_ChargeBar" size="204 18">
|
||||||
<Child type="ProgressBar" skin="MW_Progress_Red" offset="0 0 204 18" align="Right Top Stretch" name="Bar"/>
|
<Child type="ProgressBar" skin="MW_Progress_Red" offset="0 0 204 18" align="Right Top Stretch" name="Bar"/>
|
||||||
<Child type="TextBox" skin="ProgressText" offset="0 0 204 18" align="Right Top Stretch" name="BarText"/>
|
<Child type="TextBox" skin="ProgressText" offset="0 0 204 14" align="Stretch" name="BarText"/>
|
||||||
</Resource>
|
</Resource>
|
||||||
|
|
||||||
<Resource type="ResourceSkin" name="MW_ChargeBar_Blue" size="204 18">
|
<Resource type="ResourceSkin" name="MW_ChargeBar_Blue" size="204 18">
|
||||||
<Child type="ProgressBar" skin="MW_Progress_Blue" offset="0 0 204 18" align="Right Top Stretch" name="Bar"/>
|
<Child type="ProgressBar" skin="MW_Progress_Blue" offset="0 0 204 18" align="Right Top Stretch" name="Bar"/>
|
||||||
<Child type="TextBox" skin="ProgressText" offset="0 2 204 18" align="Right Top Stretch" name="BarText"/>
|
<Child type="TextBox" skin="ProgressText" offset="0 0 204 14" align="Right Top Stretch" name="BarText"/>
|
||||||
</Resource>
|
</Resource>
|
||||||
|
|
||||||
<Resource type="ResourceSkin" name="MW_DynamicStat_Red" size="204 18">
|
<Resource type="ResourceSkin" name="MW_DynamicStat_Red" size="204 18">
|
||||||
|
|
|
@ -165,7 +165,7 @@
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="ProgressBar" skin="MW_Progress_Red" position="50 70 200 20" align="HCenter Bottom" name="SkillProgress">
|
<Widget type="ProgressBar" skin="MW_Progress_Red" position="50 70 200 20" align="HCenter Bottom" name="SkillProgress">
|
||||||
<Widget type="TextBox" skin="ProgressText" position="0 0 200 20" align="Stretch" name="SkillProgressText">
|
<Widget type="TextBox" skin="ProgressText" position="0 0 200 16" align="Stretch" name="SkillProgressText">
|
||||||
<Property key="TextAlign" value="Center"/>
|
<Property key="TextAlign" value="Center"/>
|
||||||
</Widget>
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
@ -211,7 +211,7 @@
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="ProgressBar" skin="MW_Progress_Red" position="50 30 200 20" align="HCenter Bottom" name="LevelProgress">
|
<Widget type="ProgressBar" skin="MW_Progress_Red" position="50 30 200 20" align="HCenter Bottom" name="LevelProgress">
|
||||||
<Widget type="TextBox" skin="ProgressText" position="0 0 200 20" align="Stretch" name="LevelProgressText">
|
<Widget type="TextBox" skin="ProgressText" position="0 0 200 16" align="Stretch" name="LevelProgressText">
|
||||||
<Property key="TextAlign" value="Center"/>
|
<Property key="TextAlign" value="Center"/>
|
||||||
</Widget>
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
|
@ -4,10 +4,9 @@
|
||||||
<Widget type="Window" skin="MW_Dialog" layer="Windows" position="0 0 219 40" align="Center" name="_Main">
|
<Widget type="Window" skin="MW_Dialog" layer="Windows" position="0 0 219 40" align="Center" name="_Main">
|
||||||
|
|
||||||
<Widget type="ProgressBar" skin="MW_Progress_Blue" position="5 6 199 20" name="ProgressBar">
|
<Widget type="ProgressBar" skin="MW_Progress_Blue" position="5 6 199 20" name="ProgressBar">
|
||||||
<Widget type="TextBox" skin="SandText" position="0 0 199 20" name="ProgressText">
|
<Widget type="TextBox" skin="ProgressText" position="0 0 199 16" name="ProgressText" align="Right VCenter">
|
||||||
<Property key="TextAlign" value="Center"/>
|
<Property key="NeedMouse" value="false"/>
|
||||||
</Widget>
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
</Widget>
|
</Widget>
|
||||||
</MyGUI>
|
</MyGUI>
|
||||||
|
|
Loading…
Reference in a new issue