|
10 | 10 | x:Class="CodeIngest.Desktop.Views.MainWindow"
|
11 | 11 | x:DataType="viewModels:MainViewModel"
|
12 | 12 | Title="Code Ingest"
|
13 |
| - MinWidth="640" MinHeight="480" |
| 13 | + Width="860" Height="600" |
| 14 | + MinWidth="580" MinHeight="500" |
14 | 15 | Icon="/Assets/app.ico">
|
15 | 16 | <Design.DataContext>
|
16 | 17 | <viewModels:MainViewModel />
|
|
37 | 38 | <ui:FolderTree Root="{Binding Root}" Margin="8" />
|
38 | 39 | </Border>
|
39 | 40 |
|
40 |
| - <StackPanel Grid.Column="1" Margin="0,8,8,8"> |
| 41 | + <Grid Grid.Column="1" Margin="0,8,8,8" |
| 42 | + RowDefinitions="Auto,Auto,*"> |
41 | 43 | <Button Command="{Binding SelectRoot}">
|
42 | 44 | <StackPanel Orientation="Horizontal">
|
43 | 45 | <avalonia:MaterialIcon Kind="FolderOutline" />
|
44 | 46 | <TextBlock Text="Select Root" Margin="8,0,0,0" VerticalAlignment="Center"/>
|
45 | 47 | </StackPanel>
|
46 | 48 | </Button>
|
47 |
| - <Button Command="{Binding RunIngest}" Margin="0,4,0,0"> |
48 |
| - <StackPanel Orientation="Horizontal"> |
49 |
| - <avalonia:MaterialIcon Kind="Export" /> |
50 |
| - <TextBlock Text="Ingest" Margin="8,0,0,0" VerticalAlignment="Center"/> |
51 |
| - </StackPanel> |
52 |
| - </Button> |
53 | 49 |
|
54 |
| - <Border BorderThickness="1" Margin="0,16,0,0"> |
| 50 | + <Border Grid.Row="1" BorderThickness="1" Margin="0,16,0,0"> |
55 | 51 | <StackPanel>
|
56 | 52 | <!-- ReSharper disable once Xaml.StyleClassNotFound -->
|
57 | 53 | <TextBlock Text="Options" Classes="Overline" Margin="4"/>
|
|
74 | 70 | </StackPanel>
|
75 | 71 | </StackPanel>
|
76 | 72 | </Border>
|
77 |
| - </StackPanel> |
| 73 | + |
| 74 | + <Button Grid.Row="2" Command="{Binding RunIngest}" VerticalAlignment="Bottom"> |
| 75 | + <StackPanel Orientation="Horizontal"> |
| 76 | + <avalonia:MaterialIcon Kind="Export" /> |
| 77 | + <TextBlock Text="Ingest" Margin="8,0,0,0" VerticalAlignment="Center" /> |
| 78 | + </StackPanel> |
| 79 | + </Button> |
| 80 | + </Grid> |
78 | 81 | </Grid>
|
79 | 82 | </dialogHostAvalonia:DialogHost>
|
80 | 83 | </Window>
|
0 commit comments