mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-27 10:15:30 +08:00
Update Resource.xml
This commit is contained in:
@@ -9,13 +9,47 @@
|
|||||||
</Folder>
|
</Folder>
|
||||||
</Folder>
|
</Folder>
|
||||||
<Folder name="MainWindow">
|
<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 name="MainWindowResource">
|
||||||
<Instance ref.CodeBehind="false" ref.Class="sample::MainWindow">
|
<Instance ref.Class="sample::MainWindow" ref.Styles="res://MainWindow/SharedStyle">
|
||||||
<Window Text="Hello, world!" ClientSize="x:480 y:320">
|
<Window Text="Hello, world!" ClientSize="x:640 y:480">
|
||||||
<att.BoundsComposition-set PreferredMinSize="x:480 y:320"/>
|
<att.BoundsComposition-set PreferredMinSize="x:480 y:320"/>
|
||||||
<Label Text="Welcome to GacUI Library!">
|
<Table AlignmentToParent="left:0 top:0 right:0 bottom:0" CellPadding="5">
|
||||||
<att.Font>fontFamily:"Segoe UI" size:32 antialias:true</att.Font>
|
<att.Rows>
|
||||||
</Label>
|
<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="<Gui3DBorderElement/>"/>
|
||||||
|
</Bounds>
|
||||||
|
</Cell>
|
||||||
|
<Cell Site="row:1 column:0">
|
||||||
|
<InnerShadow Color="#107C10" Thickness="8"/>
|
||||||
|
<Bounds ref.Style="label">
|
||||||
|
<SolidLabel Text="<InnerShadow/>"/>
|
||||||
|
</Bounds>
|
||||||
|
</Cell>
|
||||||
|
<Cell Site="row:2 column:0">
|
||||||
|
<SolidLabel Text="<SolidLabel/>"/>
|
||||||
|
</Cell>
|
||||||
|
</Table>
|
||||||
</Window>
|
</Window>
|
||||||
</Instance>
|
</Instance>
|
||||||
</Instance>
|
</Instance>
|
||||||
|
|||||||
Reference in New Issue
Block a user