forked from teamnwah/openmw-tes3coop
Fix pinned window caption
This commit is contained in:
parent
54e79c8c98
commit
efbbe73c2a
2 changed files with 16 additions and 1 deletions
|
@ -137,4 +137,19 @@
|
|||
</Widget>
|
||||
</Resource>
|
||||
|
||||
<!-- Same as MW_Caption, but reserves some free space on the right for the Pin button -
|
||||
i.e. not allowing the caption label to stretch there, but still showing the tiling background. -->
|
||||
<Resource type="ResourceLayout" name="MW_Caption_Pin" version="3.2.0">
|
||||
<Widget type="Widget" skin="" position="0 0 88 20" name="Root">
|
||||
<Widget type="Widget" skin="HB_ALL" position="0 0 30 20" align="Default" name="Left"/>
|
||||
<Widget type="Widget" skin="" position="0 0 69 20" align="Stretch">
|
||||
<Widget type="TextBox" skin="SandText" position="30 0 28 20" align="Left VStretch" name="Client">
|
||||
<Property key="FontName" value="Default"/>
|
||||
<Property key="TextAlign" value="Center"/>
|
||||
</Widget>
|
||||
</Widget>
|
||||
<Widget type="Widget" skin="HB_ALL" position="0 0 30 20" align="Right" name="Right"/>
|
||||
</Widget>
|
||||
</Resource>
|
||||
|
||||
</MyGUI>
|
||||
|
|
|
@ -804,7 +804,7 @@
|
|||
</Child>
|
||||
|
||||
<!-- Caption -->
|
||||
<Child type="WindowCaption" skin="MW_Caption" offset="4 4 228 20" align="HStretch Top" name="Caption">
|
||||
<Child type="WindowCaption" skin="MW_Caption_Pin" offset="4 4 248 20" align="HStretch Top" name="Caption">
|
||||
</Child>
|
||||
|
||||
<!-- This invisible button makes it possible to move the
|
||||
|
|
Loading…
Reference in a new issue