|
6 | 6 | xmlns:converters="using:Microsoft.Toolkit.Uwp.UI.Converters"
|
7 | 7 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
8 | 8 | xmlns:helpers="using:Files.Uwp.Helpers"
|
9 |
| - xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
10 |
| - xmlns:shared="using:Files.Shared" |
11 |
| - Background="Transparent" |
| 9 | + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
| 10 | + xmlns:shared="using:Files.Shared" |
| 11 | + Background="Transparent" |
12 | 12 | mc:Ignorable="d">
|
13 | 13 |
|
14 | 14 | <Page.Resources>
|
|
43 | 43 | <TextBlock
|
44 | 44 | Grid.Row="0"
|
45 | 45 | Grid.Column="0"
|
46 |
| - Grid.ColumnSpan="2" |
47 | 46 | Padding="4"
|
48 |
| - Text="{helpers:ResourceString Name=ChooseCustomIcon}" /> |
| 47 | + MaxLines="2" |
| 48 | + Text="{helpers:ResourceString Name=ChooseCustomIcon}" |
| 49 | + TextWrapping="WrapWholeWords" /> |
49 | 50 | <Button
|
50 | 51 | x:Name="RestoreDefaultButton"
|
51 | 52 | Grid.Row="0"
|
52 |
| - Grid.Column="0" |
53 |
| - Grid.ColumnSpan="2" |
| 53 | + Grid.Column="1" |
54 | 54 | HorizontalAlignment="Right"
|
55 | 55 | x:Load="{x:Bind IsShortcutItem, Converter={StaticResource BoolNegationConverter}}"
|
56 | 56 | Command="{x:Bind RestoreDefaultIconCommand}"
|
|
63 | 63 | Margin="-12,0"
|
64 | 64 | Background="{ThemeResource CardStrokeColorDefaultBrush}" />
|
65 | 65 |
|
66 |
| - <TextBox |
67 |
| - x:Name="ItemDisplayedPath" |
| 66 | + <Grid |
68 | 67 | Grid.Row="2"
|
69 | 68 | Grid.Column="0"
|
70 |
| - IsReadOnly="True" /> |
71 |
| - <Button |
72 |
| - x:Name="PickDllButton" |
73 |
| - Grid.Row="2" |
74 |
| - Grid.Column="1" |
75 |
| - Click="PickDllButton_Click" |
76 |
| - Content="{helpers:ResourceString Name=Browse}" /> |
| 69 | + Grid.ColumnSpan="2" |
| 70 | + ColumnSpacing="8"> |
| 71 | + <Grid.ColumnDefinitions> |
| 72 | + <ColumnDefinition Width="*" /> |
| 73 | + <ColumnDefinition Width="Auto" /> |
| 74 | + </Grid.ColumnDefinitions> |
| 75 | + |
| 76 | + <TextBox |
| 77 | + x:Name="ItemDisplayedPath" |
| 78 | + Grid.Column="0" |
| 79 | + IsReadOnly="True" /> |
| 80 | + |
| 81 | + <Button |
| 82 | + x:Name="PickDllButton" |
| 83 | + Grid.Column="1" |
| 84 | + HorizontalAlignment="Right" |
| 85 | + Click="PickDllButton_Click" |
| 86 | + Content="{helpers:ResourceString Name=Browse}" /> |
| 87 | + </Grid> |
77 | 88 |
|
78 | 89 | <GridView
|
79 | 90 | x:Name="IconSelectionGrid"
|
80 | 91 | Grid.Row="3"
|
81 | 92 | Grid.Column="0"
|
82 | 93 | Grid.ColumnSpan="3"
|
83 |
| - MaxHeight="240" |
| 94 | + MaxHeight="252" |
84 | 95 | HorizontalAlignment="Stretch"
|
85 | 96 | VerticalAlignment="Stretch"
|
86 | 97 | ScrollViewer.HorizontalScrollBarVisibility="Disabled"
|
|
0 commit comments