Update Resource.xml

This commit is contained in:
Zihan Chen
2020-11-17 10:35:17 -08:00
parent 62c091472e
commit 45db730626

View File

@@ -9,13 +9,47 @@
</Folder>
</Folder>
<Folder name="MainWindow">
<InstanceStyle name="SharedStyle">
<Styles>
<Style ref.Path="//Bounds + //Table + //Cell" MinSizeLimitation="LimitToElementAndChildren"/>
<Style ref.Path="//Bounds.label" AlignmentToParent="left:10 top:10 right:10 bottom:10"/>
<Style ref.Path="//SolidLabel" HorizontalAlignment="Center" VerticalAlignment="Center" Color="#FFFFFF">
<att.Font>fontFamily:"Segoe UI" size:14 antialias:true</att.Font>
</Style>
</Styles>
</InstanceStyle>
<Instance name="MainWindowResource">
<Instance ref.CodeBehind="false" ref.Class="sample::MainWindow">
<Window Text="Hello, world!" ClientSize="x:480 y:320">
<Instance ref.Class="sample::MainWindow" ref.Styles="res://MainWindow/SharedStyle">
<Window Text="Hello, world!" ClientSize="x:640 y:480">
<att.BoundsComposition-set PreferredMinSize="x:480 y:320"/>
<Label Text="Welcome to GacUI Library!">
<att.Font>fontFamily:"Segoe UI" size:32 antialias:true</att.Font>
</Label>
<Table AlignmentToParent="left:0 top:0 right:0 bottom:0" CellPadding="5">
<att.Rows>
<CellOption>composeType:Percentage percentage:1.0</CellOption>
<CellOption>composeType:Percentage percentage:1.0</CellOption>
<CellOption>composeType:Percentage percentage:1.0</CellOption>
</att.Rows>
<att.Columns>
<CellOption>composeType:Percentage percentage:1.0</CellOption>
<CellOption>composeType:Percentage percentage:1.0</CellOption>
<CellOption>composeType:Percentage percentage:1.0</CellOption>
</att.Columns>
<Cell Site="row:0 column:0">
<Gui3DBorderElement Color1="#FFB900" Color2="#847545"/>
<Bounds ref.Style="label">
<SolidLabel Text="&lt;Gui3DBorderElement/&gt;"/>
</Bounds>
</Cell>
<Cell Site="row:1 column:0">
<InnerShadow Color="#107C10" Thickness="8"/>
<Bounds ref.Style="label">
<SolidLabel Text="&lt;InnerShadow/&gt;"/>
</Bounds>
</Cell>
<Cell Site="row:2 column:0">
<SolidLabel Text="&lt;SolidLabel/&gt;"/>
</Cell>
</Table>
</Window>
</Instance>
</Instance>