Skip to content

Commit b6ccc73

Browse files
committed
chore: minor modify.
1 parent b9ee91a commit b6ccc73

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Shared/HandyControlDemo_Shared/UserControl/Controls/TransitioningContentControlDemo.xaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
44
xmlns:hc="https://handyorg.github.io/handycontrol"
5-
Background="{DynamicResource RegionBrush}">
5+
Background="{DynamicResource RegionBrush}"
6+
MinWidth="320">
67
<Grid>
78
<Grid.RowDefinitions>
89
<RowDefinition Height="Auto"/>
910
<RowDefinition/>
1011
</Grid.RowDefinitions>
11-
<ToggleButton Margin="0,32,0,0" IsChecked="True" Name="ButtonVisibilitySwitch" Style="{StaticResource ToggleButtonSwitch}"/>
12+
<ToggleButton HorizontalAlignment="Center" Margin="0,32,0,0" IsChecked="True" Name="ButtonVisibilitySwitch" Style="{StaticResource ToggleButtonSwitch}"/>
1213
<hc:ScrollViewer IsInertiaEnabled="True" Grid.Row="1">
1314
<hc:UniformSpacingPanel Visibility="{Binding IsChecked,ElementName=ButtonVisibilitySwitch,Converter={StaticResource Boolean2VisibilityConverter}}" MaxWidth="720" Margin="32" Spacing="32" ChildWrapping="Wrap">
1415
<hc:TransitioningContentControl>

0 commit comments

Comments
 (0)