|
2 | 2 | x:Class="Files.GenericFileBrowser"
|
3 | 3 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
4 | 4 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
| 5 | + xmlns:behaviors="using:Microsoft.Toolkit.Uwp.UI.Behaviors" |
5 | 6 | xmlns:controls="using:Microsoft.Toolkit.Uwp.UI.Controls"
|
6 | 7 | xmlns:controlsprimitives="using:Microsoft.Toolkit.Uwp.UI.Controls.Primitives"
|
7 | 8 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
| 9 | + xmlns:interactivity="using:Microsoft.Xaml.Interactivity" |
8 | 10 | xmlns:local="using:Files"
|
9 | 11 | xmlns:local2="using:Files.Filesystem"
|
10 | 12 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
11 |
| - xmlns:muxc="using:Microsoft.UI.Xaml.Controls" xmlns:interactivity="using:Microsoft.Xaml.Interactivity" xmlns:behaviors="using:Microsoft.Toolkit.Uwp.UI.Behaviors" |
| 13 | + xmlns:muxc="using:Microsoft.UI.Xaml.Controls" |
12 | 14 | Background="{StaticResource ApplicationPageBackgroundThemeBrush}"
|
13 | 15 | NavigationCacheMode="Required"
|
14 | 16 | PointerReleased="GenericItemView_PointerReleased"
|
|
255 | 257 | <controls:DataGrid
|
256 | 258 | x:Name="AllView"
|
257 | 259 | Grid.Row="3"
|
258 |
| - Margin="24,24,0,0" |
259 |
| - HorizontalAlignment="Left" |
| 260 | + Margin="12,12,0,0" |
| 261 | + HorizontalAlignment="Stretch" |
260 | 262 | x:FieldModifier="public"
|
261 | 263 | AllowDrop="True"
|
262 | 264 | AutoGenerateColumns="False"
|
|
336 | 338 | ToolTipService.ToolTip="{Binding FolderTooltipText}">
|
337 | 339 | <controls:DataGridTemplateColumn.CellTemplate>
|
338 | 340 | <DataTemplate x:DataType="local2:ListedItem">
|
339 |
| - <Grid x:Name="Icon" Margin="0,0,0,0" EffectiveViewportChanged="Icon_EffectiveViewportChanged"> |
| 341 | + <Grid |
| 342 | + x:Name="Icon" |
| 343 | + Margin="0,0,0,0" |
| 344 | + EffectiveViewportChanged="Icon_EffectiveViewportChanged"> |
340 | 345 | <Rectangle
|
341 | 346 | x:Name="CutIndicator"
|
342 | 347 | Fill="LightGray"
|
|
360 | 365 | <Image
|
361 | 366 | Width="20"
|
362 | 367 | Height="20"
|
363 |
| - Source="{x:Bind FileImg,Mode=OneWay}" |
| 368 | + Source="{x:Bind FileImg, Mode=OneWay}" |
364 | 369 | Stretch="UniformToFill"
|
365 | 370 | Visibility="{x:Bind FileIconVis, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
366 | 371 | </Grid>
|
|
0 commit comments