Fixed scaling Accessibility issues in Settings (#6774)

* fixed scaling issues in settings

* reduced the size to 375 from 380

* Set scrollviewer visibility to auto so that it is visible only when needed
This commit is contained in:
Alekhya 2020-09-23 13:20:58 -07:00 committed by GitHub
parent 5a07579b73
commit dafc1e0c7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -285,7 +285,7 @@
Margin="{StaticResource SmallTopMargin}"
Text="{x:Bind Mode=TwoWay, Path=ViewModel.ExcludedApps}"
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"
Width="380"
Width="375"
Height="160"
HorizontalAlignment="Left"
ScrollViewer.VerticalScrollBarVisibility ="Visible"

View File

@ -62,7 +62,10 @@
ItemsSource="{x:Bind ViewModel.Sizes, Mode=TwoWay}"
Padding="0"
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"
SelectionMode="None">
SelectionMode="None"
ScrollViewer.HorizontalScrollMode="Enabled"
ScrollViewer.HorizontalScrollBarVisibility="Auto"
ScrollViewer.IsHorizontalRailEnabled="True">
<ListView.ItemContainerStyle>
<Style TargetType="ListViewItem">