openmw-tes3coop/files/mygui/openmw_confirmation_dialog.layout
Lars Söderberg b0bdd233ee Center, switch and change text for confirmation buttons
The confirmation buttons for quitting or starting a new game were
driving me crazy by not being ok left and cancel right, as e.g. vanilla
is.

Then I noticed the text isn't the same as in vanilla either. It should
be yes/no, not ok/cancel.

To make it even more authentic I also centered the buttons. Had to
remove autosized buttons for this. I think it looks fine still.

Comments?
2014-04-28 16:05:27 +02:00

25 lines
No EOL
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<MyGUI type="Layout">
<Widget type="Window" skin="MW_Dialog" layer="Windows" position="0 0 300 130" name="_Main">
<Property key="Visible" value="false"/>
<Widget type="EditBox" skin="MW_TextEditClient" position="8 8 274 400" name="Message" align="Left Top Stretch">
<Property key="FontName" value="Default"/>
<Property key="TextAlign" value="Top HCenter"/>
<Property key="TextColour" value="0.75 0.6 0.35"/>
<Property key="Static" value="true"/>
<Property key="WordWrap" value="true"/>
<Property key="MultiLine" value="true"/>
</Widget>
<Widget type="Widget" position="0 89 274 24" align="Center Bottom">
<Widget type="Button" skin="MW_Button" name="OkButton" position="77 0 60 24">
<Property key="Caption" value="#{sYes}"/>
</Widget>
<Widget type="Button" skin="MW_Button" name="CancelButton" position="147 0 60 24">
<Property key="Caption" value="#{sNo}"/>
</Widget>
</Widget>
</Widget>
</MyGUI>