tabpage.layout

来自「cegui界面库」· LAYOUT 代码 · 共 35 行

LAYOUT
35
字号
<?xml version="1.0" ?>
<GUILayout>

<Window Type="DefaultGUISheet" Name="">
    <Window Type="TaharezLook/StaticText" Name="Text">
        <Property Name="FrameEnabled" Value="False" />
        <Property Name="HorzFormatting" Value="WordWrapCentred" />
        <Property Name="VertFormatting" Value="CentreAligned" />
        <Property Name="UnifiedAreaRect" Value="{{0.5,0},{0.1,0},{0.9,0},{0.4,0}}" />
        <Property Name="BackgroundEnabled" Value="False" />
    </Window>

    <Window Type="TaharezLook/Button" Name="Page/Button1">
        <Property Name="Text" Value="- One -" />
        <Property Name="UnifiedAreaRect" Value="{{0.1,0},{0.1,0},{0.3,0},{0.2,0}}" />
    </Window>

    <Window Type="TaharezLook/Button" Name="Page/Button2">
        <Property Name="Text" Value="- Two -" />
        <Property Name="UnifiedAreaRect" Value="{{0.3,0},{0.3,0},{0.5,0},{0.4,0}}" />
    </Window>

    <Window Type="TaharezLook/Button" Name="Page/Button3">
        <Property Name="Text" Value="- Three -" />
        <Property Name="UnifiedAreaRect" Value="{{0.5,0},{0.5,0},{0.7,0},{0.6,0}}" />
    </Window>

    <Window Type="TaharezLook/Button" Name="Page/Button4">
        <Property Name="Text" Value="- Four -" />
        <Property Name="UnifiedAreaRect" Value="{{0.7,0},{0.7,0},{0.9,0},{0.8,0}}" />
    </Window>
</Window>

</GUILayout>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?