Localize CmdPal settings page (#38026)

* Localize CmdPal settings page
* Xaml format
* Fix it

Follow up to #37908
This commit is contained in:
Stefan Markovic
2025-03-19 22:00:25 +01:00
committed by GitHub
parent 394583fca9
commit 53003b9969
6 changed files with 138 additions and 64 deletions

View File

@@ -1,9 +1,8 @@
<Application x:Class="FancyZone_HitTest.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:FancyZone_HitTest"
StartupUri="MainWindow.xaml">
<Application.Resources>
</Application.Resources>
<Application
x:Class="FancyZone_HitTest.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:FancyZone_HitTest"
StartupUri="MainWindow.xaml">
<Application.Resources />
</Application>

View File

@@ -1,17 +1,20 @@
<Window x:Class="FancyZone_HitTest.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:FancyZone_HitTest"
mc:Ignorable="d"
Title="MainWindow" Width="1024" Height="768">
<Window
x:Class="FancyZone_HitTest.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:FancyZone_HitTest"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Title="MainWindow"
Width="1024"
Height="768"
mc:Ignorable="d">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition Width="200" />
</Grid.ColumnDefinitions>
<Grid MouseMove="Grid_MouseMove" Name="hitTestGrid">
<Grid Name="hitTestGrid" MouseMove="Grid_MouseMove">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
@@ -19,13 +22,35 @@
</Grid.ColumnDefinitions>
<Rectangle Fill="#ff0000" Grid.Column="0" Name="a" />
<Rectangle Fill="#00ff00" Grid.Column="1" Name="b" />
<Rectangle Fill="#0000ff" Grid.Column="2" Name="c" />
<Rectangle Fill="#aabbff" Grid.ColumnSpan="3" Name="d" Width="550" Height="500" />
<!--Height="600"-->
<Rectangle Fill="#aabbff" Grid.ColumnSpan="3" Name="f" Height="400" Width="400" />
<Rectangle Fill="Orange" Grid.ColumnSpan="3" Name="e"/>
<Rectangle
Name="a"
Grid.Column="0"
Fill="#ff0000" />
<Rectangle
Name="b"
Grid.Column="1"
Fill="#00ff00" />
<Rectangle
Name="c"
Grid.Column="2"
Fill="#0000ff" />
<Rectangle
Name="d"
Grid.ColumnSpan="3"
Width="550"
Height="500"
Fill="#aabbff" />
<!-- Height="600" -->
<Rectangle
Name="f"
Grid.ColumnSpan="3"
Width="400"
Height="400"
Fill="#aabbff" />
<Rectangle
Name="e"
Grid.ColumnSpan="3"
Fill="Orange" />
</Grid>
<StackPanel Grid.Column="1">