Skip to content

Commit e55aef4

Browse files
committed
Fix the demo to start at zero and have the smaller layout.
This reverts commit 5f17057. Remove the demo2_step3 code
1 parent 5f17057 commit e55aef4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Samples/Islands/WpfCalculator/CalculatorDemo/MainWindow.xaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
xmlns:local="clr-namespace:CalculatorDemo"
77
mc:Ignorable="d"
88
Title="MainWindow"
9-
Height="450"
10-
Width="650"
9+
Height="350"
10+
Width="525"
1111
Icon="appicon.ico">
1212

1313
<Window.Resources>
@@ -60,7 +60,7 @@
6060
<ColumnDefinition />
6161
</Grid.ColumnDefinitions>
6262
<Grid.RowDefinitions>
63-
<RowDefinition />
63+
<RowDefinition Height="30" />
6464
<RowDefinition />
6565
<RowDefinition />
6666
<RowDefinition />
@@ -121,9 +121,9 @@
121121
ToolTip="Add To Memory">
122122
M+
123123
</Button>
124-
<TextBlock Name="BMemBox" Grid.Column="3" Grid.Row="1" Margin="10,17,10,17" Grid.ColumnSpan="2">Memory: [empty]</TextBlock>
124+
<TextBlock Name="BMemBox" Grid.Column="3" Grid.Row="1" Margin="10,10,10,10" Grid.ColumnSpan="4">Memory: [empty]</TextBlock>
125125

126-
<local:MyTextBox Grid.ColumnSpan="9" x:Name="DisplayBox" Height="30" Margin="5" FontSize="20" BorderBrush="LightGray"/>
126+
<local:MyTextBox Grid.ColumnSpan="9" x:Name="DisplayBox" Margin="5,0,5,0" FontSize="16" BorderBrush="LightGray"/>
127127
<Border x:Name="DisplayAreaBorder" Grid.Row="1" Grid.ColumnSpan="3" Grid.RowSpan="5" Margin="5">
128128
<local:MyTextBox x:Name="PaperBox" BorderBrush="LightGray"/>
129129
</Border>

0 commit comments

Comments
 (0)