File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
src/Files.App/UserControls Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 1122
1122
<ColumnDefinition Width =" Auto" />
1123
1123
</Grid .ColumnDefinitions>
1124
1124
<Grid .RowDefinitions>
1125
- <RowDefinition MinHeight = " 30 " />
1126
- <RowDefinition MinHeight = " 30 " />
1127
- <RowDefinition MinHeight = " 30 " />
1125
+ <RowDefinition Height = " Auto " />
1126
+ <RowDefinition Height = " Auto " />
1127
+ <RowDefinition Height = " Auto " />
1128
1128
</Grid .RowDefinitions>
1129
1129
1130
1130
<!-- Show Hidden Files -->
1164
1164
1165
1165
<!-- Adaptive Layout -->
1166
1166
<TextBlock
1167
+ x:Name=" AdaptiveLayoutTextBlock"
1167
1168
Grid.Row=" 2"
1168
1169
Grid.Column=" 0"
1169
1170
VerticalAlignment=" Center"
1171
+ x:Load=" {x:Bind Commands.LayoutAdaptive.IsExecutable, Mode=OneWay}"
1170
1172
Text=" {x:Bind Commands.LayoutAdaptive.Label}" />
1171
1173
1172
1174
<ToggleSwitch
1175
+ x:Name=" AdaptiveLayoutToggleSwitch"
1173
1176
Grid.Row=" 2"
1174
1177
Grid.Column=" 1"
1175
1178
HorizontalAlignment=" Right"
1179
+ x:Load=" {x:Bind Commands.LayoutAdaptive.IsExecutable, Mode=OneWay}"
1176
1180
AutomationProperties.Name=" {x:Bind Commands.LayoutAdaptive.AutomationName}"
1177
1181
IsEnabled=" {x:Bind Commands.LayoutAdaptive.IsExecutable, Mode=OneWay}"
1178
1182
IsOn=" {x:Bind Commands.LayoutAdaptive.IsOn, Mode=TwoWay}"
1179
1183
Rotation=" 1"
1180
1184
Style=" {StaticResource RightAlignedToggleSwitchStyle}"
1181
1185
ToolTipService.ToolTip=" {x:Bind Commands.LayoutAdaptive.LabelWithHotKey, Mode=OneWay}" />
1182
-
1183
1186
</Grid >
1184
1187
1185
1188
</StackPanel >
You can’t perform that action at this time.
0 commit comments