|
5 | 5 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
6 | 6 | xmlns:local="clr-namespace:GarbageMan"
|
7 | 7 | mc:Ignorable="d" Closing="RunExecutable_Closing"
|
8 |
| - Title="RunExecutable" Height="400" Width="400" Icon="assets/Recycle.ico"> |
| 8 | + Title="RunExecutable" Height="440" Width="400" Icon="assets/Recycle.ico"> |
9 | 9 | <Grid Background="#f8f8ff">
|
10 | 10 | <Grid.RowDefinitions>
|
11 |
| - <RowDefinition Height="Auto" /> |
12 |
| - <RowDefinition Height="Auto" /> |
13 |
| - <RowDefinition Height="Auto" /> |
14 |
| - <RowDefinition Height="Auto" /> |
15 |
| - <RowDefinition Height="Auto" /> |
16 |
| - <RowDefinition Height="Auto" /> |
17 |
| - <RowDefinition Height="Auto" /> |
18 |
| - <RowDefinition Height="Auto" /> |
| 11 | + <RowDefinition Height="Auto" MinHeight="38.62" /> |
| 12 | + <RowDefinition Height="Auto" MinHeight="39.96" /> |
| 13 | + <RowDefinition Height="38" /> |
| 14 | + <RowDefinition Height="37"/> |
| 15 | + <RowDefinition Height="Auto" MinHeight="41" /> |
| 16 | + <RowDefinition Height="Auto" MinHeight="80.255" /> |
| 17 | + <RowDefinition Height="36" /> |
| 18 | + <RowDefinition Height="1"/> |
| 19 | + <RowDefinition Height="Auto" MinHeight="46.96" /> |
| 20 | + <RowDefinition Height="Auto" MinHeight="74.76" /> |
19 | 21 | </Grid.RowDefinitions>
|
20 | 22 | <TextBlock Text="Run executable" Grid.Row="0" FontSize="14" FontWeight="SemiBold" Margin="5,10,0,10" />
|
21 |
| - <Grid Grid.Row="1" Margin="10"> |
| 23 | + <Grid Grid.Row="1" Margin="10,10,10,10"> |
22 | 24 | <Grid.ColumnDefinitions>
|
23 | 25 | <ColumnDefinition Width="Auto" />
|
24 | 26 | <ColumnDefinition Width="*" />
|
25 | 27 | <ColumnDefinition Width="Auto" />
|
26 | 28 | </Grid.ColumnDefinitions>
|
27 | 29 | <TextBlock Text="Executable" Grid.Column="0" Margin="0,0,5,0" />
|
28 | 30 | <TextBox x:Name="RunExecutablePathTextBox" Grid.Column="1" Margin="0,0,5,0" ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Text}"/>
|
29 |
| - <Button x:Name="RunExecutablePathPickerButton" Content="Pick file" Grid.Column="2" Click="RunExecutablePathPickerButton_Click" /> |
| 31 | + <Button x:Name="RunExecutablePathPickerButton" Content="Pick file" Grid.Column="2" Click="RunExecutablePathPickerButton_Click" /> |
30 | 32 | </Grid>
|
31 |
| - <Grid Grid.Row="2" Margin="10"> |
| 33 | + <Grid Grid.Row="2" Margin="10,10,10,10" Grid.RowSpan="1"> |
32 | 34 | <Grid.ColumnDefinitions>
|
33 | 35 | <ColumnDefinition Width="Auto" />
|
34 | 36 | <ColumnDefinition Width="*" />
|
35 | 37 | </Grid.ColumnDefinitions>
|
36 | 38 | <TextBlock Text="Arguments" Grid.Column="0" Margin="0,0,5,0" />
|
37 | 39 | <TextBox x:Name="RunExectableArgsTextBox" Grid.Column="1" Margin="0,0,5,0" ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Text}"/>
|
38 | 40 | </Grid>
|
39 |
| - <Grid Grid.Row="3" Margin="10"> |
| 41 | + <Grid Grid.Row="3" Margin="10,10,10,10" Grid.RowSpan="1"> |
40 | 42 | <Grid.ColumnDefinitions>
|
41 | 43 | <ColumnDefinition Width="Auto" />
|
42 |
| - <ColumnDefinition Width="Auto" /> |
43 |
| - <ColumnDefinition Width="Auto" /> |
| 44 | + <ColumnDefinition Width="*" /> |
| 45 | + </Grid.ColumnDefinitions> |
| 46 | + <TextBlock Text="Working Directory (Optional)" Grid.Column="0" Margin="0,0,5,0" /> |
| 47 | + <TextBox x:Name="RunExectableWorkingDirTextBox" Grid.Column="1" Margin="0,0,5,0" ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Text}"/> |
| 48 | + </Grid> |
| 49 | + <Grid Grid.Row="4" Margin="10,10,10,11"> |
| 50 | + <Grid.ColumnDefinitions> |
| 51 | + <ColumnDefinition Width="Auto" /> |
| 52 | + <ColumnDefinition Width="Auto" /> |
| 53 | + <ColumnDefinition Width="Auto" /> |
44 | 54 | <ColumnDefinition Width="Auto" />
|
45 | 55 | <ColumnDefinition Width="Auto" />
|
46 | 56 | <ColumnDefinition Width="Auto" />
|
|
56 | 66 | <TextBox x:Name="RunExecutableSnapshotIntervalTextBox" Grid.Column="6" Width="50" Margin="0,0,2,0" />
|
57 | 67 | <TextBlock Text="ms" Grid.Column="7" />
|
58 | 68 | </Grid>
|
59 |
| - <Grid Grid.Row="4" Margin="10"> |
| 69 | + <Grid Grid.Row="5" Margin="10,9,10,10"> |
60 | 70 | <Grid>
|
61 | 71 | <Grid.ColumnDefinitions>
|
62 | 72 | <ColumnDefinition Width="1.7*" />
|
|
78 | 88 | </StackPanel>
|
79 | 89 | </Grid>
|
80 | 90 | </Grid>
|
81 |
| - <Grid Grid.Row="5" Margin="10"> |
| 91 | + <Grid Grid.Row="6" Margin="10,10,10,5"> |
82 | 92 | <Grid.ColumnDefinitions>
|
83 | 93 | <ColumnDefinition Width="Auto" />
|
84 | 94 | <ColumnDefinition Width="*" />
|
|
88 | 98 | <TextBox x:Name="RunExecutableDatabaseNameTextBox" Grid.Column="1" Text="database.db" Margin="0,0,5,0" ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Text}"/>
|
89 | 99 | <Button x:Name="RunExecutableDatabasePickerButton" Content="Pick file" Grid.Column="2" Click="RunExecutableDatabasePickerButton_Click" />
|
90 | 100 | </Grid>
|
91 |
| - <Grid Grid.Row="6" Margin="10"> |
| 101 | + <Grid Grid.Row="8" Margin="10,7,10,10"> |
92 | 102 | <Grid.ColumnDefinitions>
|
93 | 103 | <ColumnDefinition Width="*" />
|
94 | 104 | <ColumnDefinition Width="*" />
|
|
98 | 108 | <Button x:Name="RunExecutableStartButton" Content="Start" Grid.Column="1" Margin="5" Click="RunExecutableStartButton_Click" />
|
99 | 109 | <Button x:Name="RunExecutableCancelButton" Content="Cancel" Grid.Column="2" Margin="5" Click="RunExecutableCancelButton_Click" />
|
100 | 110 | </Grid>
|
101 |
| - <StackPanel Grid.Row="7"> |
| 111 | + <StackPanel Grid.Row="9" Margin="0,0,0,38"> |
102 | 112 | <TextBlock x:Name="RunExecutableStatusText" Text="Creating database, please wait..." Margin="10,0,0,5" Visibility="Hidden" />
|
103 | 113 | <ProgressBar x:Name="RunExecutableProgressBar" IsIndeterminate="True" Height="5" Margin="20,0,20,10" Visibility="Hidden" />
|
104 | 114 | </StackPanel>
|
|
0 commit comments