mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 20:57:22 +02:00
[Settings] ColorPicker spacing issue (#9215)
* Added additional text header * Margin fix * Margin fix Co-authored-by: Niels Laute <niels9001@hotmail.com>
This commit is contained in:
@@ -837,7 +837,7 @@
|
|||||||
<value>Activation behavior</value>
|
<value>Activation behavior</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="ColorFormats.Text" xml:space="preserve">
|
<data name="ColorFormats.Text" xml:space="preserve">
|
||||||
<value>Color formats</value>
|
<value>Picker behavior</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="KBM_KeysCannotBeRemapped.Text" xml:space="preserve">
|
<data name="KBM_KeysCannotBeRemapped.Text" xml:space="preserve">
|
||||||
<value>Learn more about remapping limitations</value>
|
<value>Learn more about remapping limitations</value>
|
||||||
@@ -928,4 +928,7 @@
|
|||||||
<value>https://aka.ms/PowerToysOverview_ShortcutGuide</value>
|
<value>https://aka.ms/PowerToysOverview_ShortcutGuide</value>
|
||||||
<comment>URL. Do not loc</comment>
|
<comment>URL. Do not loc</comment>
|
||||||
</data>
|
</data>
|
||||||
</root>
|
<data name="ColorPicker_Editor.Text" xml:space="preserve">
|
||||||
|
<value>Editor</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
||||||
@@ -133,15 +133,20 @@
|
|||||||
SelectedValuePath="Key" />
|
SelectedValuePath="Key" />
|
||||||
|
|
||||||
<CheckBox x:Uid="ColorPicker_ShowColorName"
|
<CheckBox x:Uid="ColorPicker_ShowColorName"
|
||||||
IsChecked="{Binding ShowColorName, Mode=TwoWay}"
|
IsChecked="{Binding ShowColorName, Mode=TwoWay}"
|
||||||
Margin="{StaticResource SmallTopMargin}"
|
Margin="{StaticResource SmallTopMargin}"
|
||||||
IsEnabled="{Binding IsEnabled}"/>
|
IsEnabled="{Binding IsEnabled}"/>
|
||||||
|
|
||||||
|
<TextBlock x:Uid="ColorPicker_Editor"
|
||||||
|
Style="{StaticResource SettingsGroupTitleStyle}"
|
||||||
|
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled, Converter={StaticResource ModuleEnabledToForegroundConverter}}" />
|
||||||
|
|
||||||
<TextBlock Margin="{StaticResource MediumTopMargin}"
|
<TextBlock x:Name="ColorFormatsListViewLabel"
|
||||||
x:Name="ColorFormatsListViewLabel"
|
|
||||||
TextWrapping="WrapWholeWords"
|
TextWrapping="WrapWholeWords"
|
||||||
x:Uid="ColorPicker_ColorFormatsDescription"
|
x:Uid="ColorPicker_ColorFormatsDescription"
|
||||||
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled, Converter={StaticResource ModuleEnabledToForegroundConverter}}"/>
|
Foreground="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled, Converter={StaticResource ModuleEnabledToForegroundConverter}}"
|
||||||
|
Margin="{StaticResource SmallTopMargin}"/>
|
||||||
|
|
||||||
<ListView ItemsSource="{Binding ColorFormats, Mode=TwoWay}"
|
<ListView ItemsSource="{Binding ColorFormats, Mode=TwoWay}"
|
||||||
AllowDrop="True"
|
AllowDrop="True"
|
||||||
MaxWidth="466"
|
MaxWidth="466"
|
||||||
|
|||||||
Reference in New Issue
Block a user