mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 20:57:22 +02:00
[Settings] Various UX fixes (#8739)
* Change accent color to secondary grey for better contrast on colorpicker page * Fix textwrapping issue for shortcut tooltips * Fix image resizer scroll issue * Fix colorpicker page textblock/listview not disabled when module is disabled * Added MaxWidth and sidebar margin * Typo fix
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
<Setter Target="SidePanel.(Grid.Column)" Value="0"/>
|
||||
<Setter Target="SidePanel.Width" Value="Auto"/>
|
||||
<Setter Target="ImageResizerView.(Grid.Row)" Value="1" />
|
||||
<Setter Target="ImageResizerView.Margin" Value="0" />
|
||||
<Setter Target="LinksPanel.(RelativePanel.RightOf)" Value="AboutImage"/>
|
||||
<Setter Target="LinksPanel.(RelativePanel.AlignTopWith)" Value="AboutImage"/>
|
||||
<Setter Target="AboutImage.Margin" Value="0,12,12,0"/>
|
||||
@@ -49,7 +50,8 @@
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Orientation="Vertical" x:Name="ImageResizerView">
|
||||
<StackPanel Orientation="Vertical" x:Name="ImageResizerView"
|
||||
Margin="0,0,48,0">
|
||||
|
||||
<ToggleSwitch x:Uid="ImageResizer_EnableToggle"
|
||||
IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.IsEnabled}"/>
|
||||
@@ -61,7 +63,7 @@
|
||||
<ListView x:Name="ImagesSizesListView"
|
||||
x:Uid="ImagesSizesListView"
|
||||
ItemsSource="{x:Bind ViewModel.Sizes, Mode=TwoWay}"
|
||||
Padding="0"
|
||||
Padding="0,0,0,24"
|
||||
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}"
|
||||
SelectionMode="None"
|
||||
ScrollViewer.HorizontalScrollMode="Enabled"
|
||||
|
||||
Reference in New Issue
Block a user