|
9 | 9 | <UserControl.Resources> |
10 | 10 | <local:BoolToColorConverter x:Key="BoolToColorConverter" /> |
11 | 11 | </UserControl.Resources> |
12 | | - <Grid RowDefinitions="160,120,*,40"> |
| 12 | + <Grid RowDefinitions="160,120,*,60,40"> |
13 | 13 | <Border Margin="5,14,5,5" BorderBrush="White" BorderThickness="1" CornerRadius="5"> |
14 | 14 | <Grid RowDefinitions="5,*,*,*" ColumnDefinitions="96,*"> |
15 | 15 | <TextBlock Grid.Row="1" Classes="dialog" VerticalAlignment="Center" HorizontalAlignment="Right">Program name:</TextBlock> |
|
78 | 78 | <Grid RowDefinitions="5,24,*" ColumnDefinitions="320,*"> |
79 | 79 | <TextBlock Grid.Row="1" Classes="dialog" HorizontalAlignment="Center" VerticalAlignment="Center">Add block</TextBlock> |
80 | 80 | <TextBlock Grid.Row="1" Grid.Column="1" Classes="dialog" HorizontalAlignment="Center" VerticalAlignment="Center">Block list</TextBlock> |
81 | | - <ScrollViewer Grid.Row="2" VerticalScrollBarVisibility="Auto" Margin="10"> |
82 | | - <Grid ColumnDefinitions="56,*,32" RowDefinitions="Auto,Auto,Auto,Auto,16,*"> |
| 81 | + <ScrollViewer Grid.Row="2" VerticalScrollBarVisibility="Auto" Margin="10,5,10,10"> |
| 82 | + <Grid ColumnDefinitions="56,*,32" RowDefinitions="Auto,Auto,Auto,Auto,*"> |
83 | 83 | <TextBlock Classes="dialog" HorizontalAlignment="Right" VerticalAlignment="Center">File:</TextBlock> |
84 | 84 | <TextBox Grid.Column="1" Classes="dialog" HorizontalAlignment="Stretch" MaxWidth="Infinity" Margin="5,5,0,5" Name="txtBlockFile"></TextBox> |
85 | 85 | <Button Grid.Column="2" Classes="dialog" Margin="10,5,10,5" Width="32" Height="32" Name="btnSelectBlock">...</Button> |
|
91 | 91 | </Border> |
92 | 92 | <TextBlock Grid.Row="3" Classes="dialog" HorizontalAlignment="Right" VerticalAlignment="Center">Basic load:</TextBlock> |
93 | 93 | <CheckBox Classes="dialog" Grid.Row="3" Grid.Column="1" Margin="10" Name="ckBasicLoad"></CheckBox> |
94 | | - <Button Grid.Row="5" Grid.ColumnSpan="3" Classes="dialog" Margin="10,5,10,5" Height="32" Name="btnAddBlock" VerticalAlignment="Bottom">Add block</Button> |
| 94 | + <Button Grid.Row="4" Grid.ColumnSpan="3" Classes="dialog" Margin="10,5,10,5" Height="32" Name="btnAddBlock" VerticalAlignment="Bottom">Add block</Button> |
95 | 95 | </Grid> |
96 | 96 | </ScrollViewer> |
97 | 97 | <Grid Grid.Row="2" Grid.Column="1" ColumnDefinitions="*,*,*,48" RowDefinitions="24,28,*,48"> |
|
128 | 128 | </Grid> |
129 | 129 | </Border> |
130 | 130 | <TextBlock Grid.Row="2" Margin="15,0,0,0" Padding="5" Background="#202020" HorizontalAlignment="Left" VerticalAlignment="Top">Data blocks</TextBlock> |
131 | | - <Grid ColumnDefinitions="*,*" Grid.Row="3"> |
| 131 | + <Border Grid.Row="3" Margin="5,14,5,5" BorderBrush="White" BorderThickness="1" CornerRadius="5"> |
| 132 | + <Grid ColumnDefinitions="140,32,100,150,*"> |
| 133 | + <TextBlock VerticalAlignment="Center" Margin="15,0,0,0" HorizontalAlignment="Right">Include RAM disk blocks:</TextBlock> |
| 134 | + <CheckBox Name="ckRAMDisk" Grid.Column="1" VerticalAlignment="Center" Margin="5" HorizontalAlignment="Left"></CheckBox> |
| 135 | + <TextBlock Grid.Column="2" VerticalAlignment="Center" Margin="15,0,0,0" HorizontalAlignment="Right">Inclusion order:</TextBlock> |
| 136 | + <ComboBox Grid.Column="3" Classes="dialog" SelectedIndex="0" Margin="5,0,0,0" Name="cbRAMDiskOrder"> |
| 137 | + <ComboBoxItem>Before data blocks</ComboBoxItem> |
| 138 | + <ComboBoxItem>After data blocks</ComboBoxItem> |
| 139 | + </ComboBox> |
| 140 | + </Grid> |
| 141 | + </Border> |
| 142 | + <TextBlock Grid.Row="3" Margin="15,0,0,0" Padding="5" Background="#202020" HorizontalAlignment="Left" VerticalAlignment="Top">RAM disk</TextBlock> |
| 143 | + <Grid ColumnDefinitions="*,*" Grid.Row="4"> |
132 | 144 | <Button Classes="dialog" Name="btnSave">Save changes</Button> |
133 | 145 | <Button Classes="dialog" Grid.Column="1" Name="btnDiscard">Discard changes</Button> |
134 | 146 | </Grid> |
|
0 commit comments