mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-03-24 00:13:48 +08:00
Update Resource.xml
This commit is contained in:
@@ -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="<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>
|
||||
</Instance>
|
||||
</Instance>
|
||||
|
||||
Reference in New Issue
Block a user