|
49 | 49 |
|
50 | 50 | <DialogHostAvalonia:DialogHost OverlayBackground="Black">
|
51 | 51 | <Controls:SnackbarHost HostName="Root" SnackbarHorizontalAlignment="Center">
|
52 |
| - <Grid RowDefinitions="Auto,*,Auto" ColumnDefinitions="Auto,*"> |
53 |
| - <!-- Project web link https://github.com/deanthecoder/GLSLShaderShrinker --> |
54 |
| - <Button Grid.Column="1" Grid.Row="0" |
55 |
| - Margin="16,2" |
56 |
| - HorizontalAlignment="Right" VerticalAlignment="Top" |
57 |
| - Content="Project Page" |
58 |
| - Command="{Binding LaunchProjectPage}"/> |
59 |
| - |
60 |
| - <StackPanel Grid.Column="0" Grid.Row="1" VerticalAlignment="Top"> |
| 52 | + <Grid RowDefinitions="*,Auto" ColumnDefinitions="Auto,*"> |
| 53 | + <StackPanel Grid.Column="0" Grid.Row="0" VerticalAlignment="Top"> |
61 | 54 | <!-- Import Options -->
|
62 | 55 | <Border Classes="class" Margin="4,8,4,4">
|
63 | 56 | <StackPanel>
|
|
125 | 118 | </StackPanel>
|
126 | 119 |
|
127 | 120 | <!-- Diff area -->
|
128 |
| - <Border Grid.Row="1" Grid.Column="1" |
| 121 | + <Border Grid.Row="0" Grid.Column="1" |
129 | 122 | BorderThickness="1" BorderBrush="{DynamicResource MaterialPrimaryLightBrush}"
|
130 | 123 | Margin="8" Padding="8">
|
131 | 124 | <Grid RowDefinitions="Auto,*" ColumnDefinitions="*,*">
|
|
221 | 214 | </Grid>
|
222 | 215 | </Border>
|
223 | 216 |
|
224 |
| - <Grid Grid.Row="2" Grid.Column="1" Margin="8,0" ColumnDefinitions="Auto,*,Auto"> |
| 217 | + <Grid Grid.Row="1" Grid.Column="1" Margin="8,0" ColumnDefinitions="Auto,*,Auto"> |
225 | 218 | <TextBlock Grid.Column="0"
|
226 | 219 | Text="{Binding OriginalSize, StringFormat=Original: {0:N0} characters}"/>
|
227 | 220 |
|
|
266 | 259 | </Grid>
|
267 | 260 |
|
268 | 261 | <Border Grid.Row="0" Grid.Column="0"
|
269 |
| - Grid.RowSpan="3" Grid.ColumnSpan="2" |
| 262 | + Grid.RowSpan="2" Grid.ColumnSpan="2" |
270 | 263 | IsVisible="{Binding IsBusy}" Background="#A0000000">
|
271 | 264 | <Controls:Card HorizontalAlignment="Center" VerticalAlignment="Center">
|
272 | 265 | <StackPanel Margin="16,8">
|
|
276 | 269 | </StackPanel>
|
277 | 270 | </Controls:Card>
|
278 | 271 | </Border>
|
| 272 | + |
| 273 | + <!-- Project web link https://github.com/deanthecoder/GLSLShaderShrinker --> |
| 274 | + <Button Grid.Column="0" Grid.Row="2" |
| 275 | + Margin="2" Padding="2" |
| 276 | + HorizontalAlignment="Left" VerticalAlignment="Bottom" |
| 277 | + ToolTip.Tip="GitHub" |
| 278 | + Command="{Binding LaunchProjectPage}"> |
| 279 | + <Avalonia:MaterialIcon Kind="Github"/> |
| 280 | + </Button> |
279 | 281 | </Grid>
|
280 | 282 | </Controls:SnackbarHost>
|
281 | 283 | </DialogHostAvalonia:DialogHost>
|
|
0 commit comments