Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ModernWpf.Controls/Flyout/FlyoutPresenter.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<Setter Property="Foreground" Value="{DynamicResource SystemControlForegroundBaseHighBrush}" />
<Setter Property="BorderBrush" Value="{DynamicResource FlyoutBorderThemeBrush}" />
<Setter Property="BorderThickness" Value="{DynamicResource FlyoutBorderThemeThickness}" />
<Setter Property="Padding" Value="{DynamicResource FlyoutContentPadding}" />
<Setter Property="Padding" Value="{DynamicResource FlyoutContentThemePadding}" />
<Setter Property="MinWidth" Value="{DynamicResource FlyoutThemeMinWidth}" />
<Setter Property="MaxWidth" Value="{DynamicResource FlyoutThemeMaxWidth}" />
<Setter Property="MinHeight" Value="{DynamicResource FlyoutThemeMinHeight}" />
Expand Down
1 change: 0 additions & 1 deletion ModernWpf/ControlsResources.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
<sys:Double x:Key="ToggleSwitchPreContentMargin">6</sys:Double>
<sys:Double x:Key="ToggleSwitchPostContentMargin">6</sys:Double>
<sys:Double x:Key="ToggleSwitchThemeMinWidth">154</sys:Double>
<Thickness x:Key="FlyoutContentPadding">12</Thickness>

<ControlTemplate x:Key="TextControlValidationErrorTemplate">
<Grid SnapsToDevicePixels="True">
Expand Down
12 changes: 12 additions & 0 deletions test/ModernWpfTestApp/CommonStylesPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,18 @@
<RadioButton
Style="{StaticResource DefaultRadioButtonStyle}"
Content="I am a RadioButton with DefaultRadioButtonStyle set" />

<ButtonEx Content="Test flyout">
<ButtonEx.Flyout>
<Flyout>
<StackPanel>
<TextBlock Style="{DynamicResource BaseTextBlockStyle}" Text="All items will be removed. Do you want to continue?" Margin="0,0,0,12" />
<Button Content="Yes, empty my cart" />
</StackPanel>
</Flyout>
</ButtonEx.Flyout>
</ButtonEx>

</StackPanel>
</Border>
<Border Style="{DynamicResource CompactBorderStyle}">
Expand Down