Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinnara authored Nov 19, 2023
1 parent 5f3de40 commit 292a866
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions ModernWpf/ControlsResources.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@
<Thickness x:Key="NumberBoxIconMargin">10,0,0,0</Thickness>
<Thickness x:Key="RadioButtonsTopHeaderMargin">0,0,0,4</Thickness>
<Thickness x:Key="TextControlThemePadding">10,5,6,6</Thickness>
<Thickness x:Key="ToggleSwitchTopHeaderMargin">0,0,0,0</Thickness>
<sys:Double x:Key="ToggleSwitchPreContentMargin">6</sys:Double>
<sys:Double x:Key="ToggleSwitchPostContentMargin">6</sys:Double>
<Thickness x:Key="ToggleSwitchTopHeaderMargin">0,0,0,4</Thickness>
<sys:Double x:Key="ToggleSwitchPreContentMargin">10</sys:Double>
<sys:Double x:Key="ToggleSwitchPostContentMargin">10</sys:Double>
<sys:Double x:Key="ToggleSwitchThemeMinWidth">154</sys:Double>

<sys:Double x:Key="MenuFlyoutSeparatorHeight">1</sys:Double>
Expand Down
6 changes: 3 additions & 3 deletions test/ModernWpfTestApp/CommonStylesPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ private void ToggleSwitchDensityTest_Click(object sender, RoutedEventArgs e)
var contentPresenter = (ContentPresenter)root.FindName("HeaderContentPresenter");
simpleVerify.IsTrue(contentPresenter != null, "HeaderContentPresenter can't be found");

string expectedHeaderMargin = "0,0,0,0";
string expectToggleSwitchPreContentMargin = "6";
string expectToggleSwitchPostContentMargin = "6";
string expectedHeaderMargin = "0,0,0,4";
string expectToggleSwitchPreContentMargin = "10";
string expectToggleSwitchPostContentMargin = "10";

if (contentPresenter != null)
{
Expand Down

0 comments on commit 292a866

Please sign in to comment.