18
18
<Style TargetType =" {x:Type TextBlock}" >
19
19
<Setter Property =" FontSize" Value =" 14" />
20
20
</Style >
21
- <Style TargetType =" {x:Type CheckBox}" >
22
- <Setter Property =" Foreground" Value =" {StaticResource WhiteBrush}" />
23
- <Setter Property =" FontSize" Value =" 14" />
24
- <Setter Property =" Margin" Value =" 0,5" />
25
- </Style >
21
+
26
22
</controls : CleanWindow .Resources>
27
23
28
- <Grid Margin =" 40,35" >
24
+ <Grid Margin =" 40,35,40,0 " >
29
25
<Grid .RowDefinitions>
30
26
<RowDefinition Height =" auto" />
31
27
<RowDefinition Height =" auto" />
32
28
<RowDefinition Height =" 35" />
33
29
<RowDefinition Height =" auto" />
34
30
<RowDefinition Height =" auto" />
35
- <RowDefinition Height =" auto" />
36
- <RowDefinition Height =" *" />
31
+ <RowDefinition Height =" 8.6" />
32
+ <RowDefinition Height =" 56.2" />
33
+ <RowDefinition Height =" 5*" />
37
34
</Grid .RowDefinitions>
38
35
39
- <Border Margin =" -40,0"
36
+ <Border Margin =" -40,0,-40.4,0 "
40
37
BorderBrush =" {StaticResource Gray20Brush}"
41
38
BorderThickness =" 0,0,0,1" />
42
- <Grid Margin =" 0,5" >
39
+ <Grid Margin =" 0,5,-0.4,5 " >
43
40
<Grid .ColumnDefinitions>
44
41
<ColumnDefinition Width =" auto" />
45
42
<ColumnDefinition Width =" *" />
53
50
Text =" {Binding InstanceName}" />
54
51
</Grid >
55
52
56
- <Grid Grid.Row=" 1" Margin =" 0,25" >
53
+ <Grid Grid.Row=" 1" Margin =" 0,25,-0.4,25.4 " >
57
54
<Grid .ColumnDefinitions>
58
55
<ColumnDefinition Width =" auto" />
59
56
<ColumnDefinition Width =" *" />
71
68
TextWrapping =" Wrap" />
72
69
</Grid >
73
70
74
- <TextBlock Grid.Row=" 2 "
71
+ <TextBlock Grid.Row=" 1 "
75
72
FontWeight =" Bold"
76
- Text =" Optional - remove associated data:" />
77
-
73
+ Text =" Optional - remove associated data:" Margin =" 0,110,-0.4,27.6" Grid.RowSpan=" 3" />
74
+ <CheckBox Grid.Row=" 2"
75
+ IsChecked =" {Binding RemoveDatabase}"
76
+ VerticalContentAlignment =" Center" Margin =" 0,34.6,-0.4,0.6" Grid.RowSpan=" 2" >
77
+ <Label Foreground =" {StaticResource WhiteBrush}" FontSize =" 14" >Remove associated DB data</Label >
78
+ </CheckBox >
78
79
<CheckBox Grid.Row=" 3"
79
- Content =" Remove associated DB data"
80
- IsChecked =" {Binding RemoveDatabase}" />
81
- <CheckBox Grid.Row=" 4"
82
- Content =" Remove associated Logs"
83
- IsChecked =" {Binding RemoveLogs}" />
80
+ IsChecked =" {Binding RemoveLogs}"
81
+ VerticalContentAlignment =" Center" Margin =" 0,27.4,-0.4,0.6" Grid.RowSpan=" 2" >
82
+ <Label Foreground =" {StaticResource WhiteBrush}" FontSize =" 14" >Remove associated Logs</Label >
83
+ </CheckBox >
84
84
85
- <Grid Grid.Row=" 5 "
86
- Margin =" 0,25,0 ,0"
85
+ <Grid Grid.Row=" 6 "
86
+ Margin =" 0,15.6,-0.4 ,0"
87
87
VerticalAlignment =" Top" >
88
88
<Grid .ColumnDefinitions>
89
89
<ColumnDefinition Width =" *" />
101
101
IsCancel =" True"
102
102
Style =" {StaticResource BasicButton}" />
103
103
</Grid >
104
-
105
- <TextBlock Grid.Row=" 6"
106
- Foreground =" Transparent"
107
- Text =" Invisible element to fix WPF layout bug. DO NOT REMOVE" />
108
104
</Grid >
109
105
</controls : CleanWindow >
0 commit comments