mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 05:09:43 +00:00
TabControl skin, settings window categories
This commit is contained in:
parent
313294c522
commit
972c035e97
2 changed files with 30 additions and 1 deletions
|
@ -113,6 +113,8 @@
|
|||
</Resource>
|
||||
|
||||
|
||||
<!-- Skins -->
|
||||
|
||||
<Resource type="ResourceLayout" name="ButtonImage" version="3.2.0">
|
||||
<Widget type="Widget" skin="Default" position="20 20 16 16" name="Root">
|
||||
<Property key="TextAlign" value="Center"/>
|
||||
|
@ -124,4 +126,17 @@
|
|||
</Widget>
|
||||
</Resource>
|
||||
|
||||
<Resource type="ResourceLayout" name="TabControl" version="3.2.0">
|
||||
<Widget type="Widget" skin="" position="5 5 89 60" name="Root">
|
||||
<UserString key="ButtonSkin" value="MW_Button"/>
|
||||
<Widget type="Widget" skin="MW_Box" position="0 24 89 36" align="Left Top Stretch">
|
||||
<Widget type="Widget" skin="PanelEmpty" position="4 4 81 28" align="Left Top Stretch" name="TabItem"/>
|
||||
</Widget>
|
||||
<Widget type="Widget" skin="" position="0 0 89 23" align="HStretch Top" name="HeaderPlace">
|
||||
<Widget type="Widget" skin="" position="52 0 37 23" name="Controls">
|
||||
</Widget>
|
||||
</Widget>
|
||||
</Widget>
|
||||
</Resource>
|
||||
|
||||
</MyGUI>
|
||||
|
|
|
@ -3,7 +3,21 @@
|
|||
<MyGUI type="Layout">
|
||||
<Widget type="Window" skin="MW_Dialog" layer="Windows" position="0 0 390 390" name="_Main">
|
||||
|
||||
<Widget type="Widget" skin="MW_Box" position="8 8 368 340" align="Left Top">
|
||||
<Widget type="TabControl" skin="TabControl" position="8 8 368 340" align="Left Top" name="SettingsTab">
|
||||
<Property key="ButtonAutoWidth" value="true"/>
|
||||
|
||||
<Widget type="TabItem" skin="" position="2 24 300 300">
|
||||
<Property key="Caption" value=" #{sPrefs} "/>
|
||||
</Widget>
|
||||
<Widget type="TabItem" skin="" position="2 24 300 300">
|
||||
<Property key="Caption" value=" #{sAudio} "/>
|
||||
</Widget>
|
||||
<Widget type="TabItem" skin="" position="2 24 300 300">
|
||||
<Property key="Caption" value=" #{sControls} "/>
|
||||
</Widget>
|
||||
<Widget type="TabItem" skin="" position="2 24 300 300">
|
||||
<Property key="Caption" value=" #{sVideo} "/>
|
||||
</Widget>
|
||||
</Widget>
|
||||
|
||||
<Widget type="Button" skin="MW_Button" position="0 351 60 24" name="OkButton" align="Right Bottom">
|
||||
|
|
Loading…
Reference in a new issue