This commit is contained in:
vczh
2022-07-03 13:33:33 -07:00
parent 3cf94d358f
commit 527c78be5c
4 changed files with 4 additions and 8 deletions
@@ -51,11 +51,10 @@
</ToolstripGroupContainer>
</ToolstripMenu>
<att.ContainerComposition-set PreferredMinSize="x:320 y:240"/>
<Label Font="fontFamily:'Segoe UI' size:24" Text="Right click to show the menu">
<att.BoundsComposition-set AlignmentToParent="left:5 top:5 right:5 bottom:5"/>
</Label>
<att.ContainerComposition-set>
<att.ContainerComposition-set PreferredMinSize="x:320 y:240">
<ev.rightButtonDown-eval>
<![CDATA[
{
@@ -12,8 +12,7 @@
<Instance name="MainWindowResource">
<Instance ref.CodeBehind="false" ref.Class="demo::MainWindow">
<Window Text="Alignment" ClientSize="x:480 y:320">
<att.ContainerComposition-set PreferredMinSize="x:480 y:320"/>
<att.ContainerComposition-set InternalMargin="left:5 top:5 right:5 bottom:5"/>
<att.ContainerComposition-set PreferredMinSize="x:480 y:320" InternalMargin="left:5 top:5 right:5 bottom:5"/>
<Button Text="Button">
<att.BoundsComposition-set AlignmentToParent="left:0 top:0 right:-1 bottom:-1" PreferredMinSize="x:100 y:30"/>
</Button>
+1 -2
View File
@@ -73,8 +73,7 @@
<Window Text="Flow" ClientSize="x:480 y:320">
<x:MutexGroupController ref.Name="groupAxis"/>
<x:MutexGroupController ref.Name="groupAlignment"/>
<att.ContainerComposition-set PreferredMinSize="x:480 y:320"/>
<att.ContainerComposition-set MinSizeLimitation="LimitToElementAndChildren"/>
<att.ContainerComposition-set PreferredMinSize="x:480 y:320" MinSizeLimitation="LimitToElementAndChildren"/>
<Table AlignmentToParent="left:5 top:5 right:5 bottom:5" CellPadding="5" MinSizeLimitation="LimitToElementAndChildren">
<att.Rows>
@@ -2,8 +2,7 @@
<Instance ref.CodeBehind="false" ref.Class="demo::MainWindow">
<ref.Parameter Name="ViewModel" Class="demo::IViewModel"/>
<Window Text="RichTextEmbedding" ClientSize="x:480 y:320">
<att.ContainerComposition-set PreferredMinSize="x:480 y:640"/>
<att.ContainerComposition-set MinSizeLimitation="LimitToElementAndChildren"/>
<att.ContainerComposition-set PreferredMinSize="x:480 y:640" MinSizeLimitation="LimitToElementAndChildren"/>
<DocumentViewer ref.Name="documentViewer" EditMode="ViewOnly" Document-uri="res://EmbeddedDocument/Document">
<att.BoundsComposition-set AlignmentToParent="left:5 top:5 right:5 bottom:5"/>