<?xml version="1.0"?>
<Border CornerRadius="0" Margin="0" BorderWidth="1" Width="0" Height="-1">
<HorizontalStack Name="hstack" Margin="0" Spacing="5" Width="0" Height="-1">
- <Label Width="0" Name="labCpt" Text="55" Margin="1" TextAlignment="RightCenter"/>
+ <Label Width="0" Name="labCpt" Text="{Value}" Margin="1" TextAlignment="RightCenter"/>
<VerticalStack Spacing="1" Name="vstack">
<Button Width="10" Height="8" MouseClick="onUp">
<Image Margin="1" Path="#go.Images.Icons.updown.svg" SvgSub="up"/>
<OutputType>Exe</OutputType>
<RootNamespace>Tests</RootNamespace>
<AssemblyName>Tests</AssemblyName>
- <StartupObject>test.GOLIBTest_Window</StartupObject>
+ <StartupObject>test.GOLIBTest_4</StartupObject>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<OutputPath>..\bin\$(configuration)</OutputPath>
<IntermediateOutputPath>obj\$(configuration)</IntermediateOutputPath>
_image.SvgSub = "checked";\r
else\r
_image.SvgSub = "unchecked";\r
- \r
+ \r
+ NotifyValueChanged("IsChecked", IsChecked);\r
//registerForGraphicUpdate();\r
}\r
}\r
else if (gobjs.Length == 1) {\r
int sz = Children.Where(ch=>ch.Visible).Except (gobjs).Sum (g => g.Slot.Width);\r
if (sz < Slot.Width) {\r
- gobjs [0].Slot.Width = Slot.Width - sz - (Children.Count+1) * Spacing;\r
+ gobjs [0].Slot.Width = Slot.Width - sz - (Children.Count-1) * Spacing;\r
int idx = Children.IndexOf (gobjs [0]);\r
if (idx > 0 && idx < Children.Count - 1)\r
gobjs [0].Slot.Width -= Spacing;\r
else if (gobjs.Length == 1) {\r
int sz = Children.Where(ch=>ch.Visible).Except (gobjs).Sum (g => g.Slot.Height);\r
if (sz < Slot.Height) {\r
- gobjs [0].Slot.Height = Slot.Height - sz;\r
+ gobjs [0].Slot.Height = Slot.Height - sz- (Children.Count-1) * Spacing;\r
int idx = Children.IndexOf (gobjs [0]);\r
if (idx > 0 && idx < Children.Count - 1)\r
gobjs [0].Slot.Height -= Spacing;\r