mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-24 20:59:48 +08: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:
parent
eed89eff45
commit
2b42fb8a38
@ -837,7 +837,7 @@
|
||||
<value>Activation behavior</value>
|
||||
</data>
|
||||
<data name="ColorFormats.Text" xml:space="preserve">
|
||||
<value>Color formats</value>
|
||||
<value>Picker behavior</value>
|
||||
</data>
|
||||
<data name="KBM_KeysCannotBeRemapped.Text" xml:space="preserve">
|
||||
<value>Learn more about remapping limitations</value>
|
||||
@ -928,4 +928,7 @@
|
||||
<value>https://aka.ms/PowerToysOverview_ShortcutGuide</value>
|
||||
<comment>URL. Do not loc</comment>
|
||||
</data>
|
||||
</root>
|
||||
<data name="ColorPicker_Editor.Text" xml:space="preserve">
|
||||
<value>Editor</value>
|
||||
</data>
|
||||
</root>
|
@ -133,15 +133,20 @@
|
||||
SelectedValuePath="Key" />
|
||||
|
||||
<CheckBox x:Uid="ColorPicker_ShowColorName"
|
||||
IsChecked="{Binding ShowColorName, Mode=TwoWay}"
|
||||
Margin="{StaticResource SmallTopMargin}"
|
||||
IsEnabled="{Binding IsEnabled}"/>
|
||||
IsChecked="{Binding ShowColorName, Mode=TwoWay}"
|
||||
Margin="{StaticResource SmallTopMargin}"
|
||||
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}"
|
||||
x:Name="ColorFormatsListViewLabel"
|
||||
<TextBlock x:Name="ColorFormatsListViewLabel"
|
||||
TextWrapping="WrapWholeWords"
|
||||
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}"
|
||||
AllowDrop="True"
|
||||
MaxWidth="466"
|
||||
|
Loading…
Reference in New Issue
Block a user