Skip to content

Commit

Permalink
fix presentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Stéphane ANDRE (E104915) committed Sep 11, 2024
1 parent 4db3024 commit 0be393b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/MyNet.Wpf.Presentation/Views/List/PaginationView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</UserControl.Resources>

<DockPanel>
<my:DropDownButton Style="{StaticResource MyNet.Styles.DropDownButton.Elevation.Alternate}" Margin="{StaticResource MyNet.Margins.Medium.Left}"
<my:DropDownButton Style="{StaticResource MyNet.Styles.DropDownButton.Filled}" Margin="{StaticResource MyNet.Margins.Medium.Left}"
VerticalAlignment="Stretch"
DockPanel.Dock="Right"
PopupPadding="0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</UserControl.Resources>

<DockPanel>
<my:DropDownButton Style="{StaticResource MyNet.Styles.DropDownButton.Elevation.Alternate}"
<my:DropDownButton Style="{StaticResource MyNet.Styles.DropDownButton.Filled}"
Margin="{StaticResource MyNet.Margins.Medium.Bottom}"
HorizontalAlignment="Stretch"
HorizontalContentAlignment="Stretch"
Expand Down
4 changes: 4 additions & 0 deletions src/MyNet.Wpf/Styles/Controls.ToolBar.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@
<Setter Property="p:ThemeAssist.IsCheckedBorderBrush" Value="{me:BrushBinding SelfPath=Background}" />
<Setter Property="p:ThemeAssist.IsMouseOverForeground" Value="{me:BrushBinding SelfPath=Background, Contrast=True}" />
<Setter Property="Background" Value="{DynamicResource MyNet.Brushes.Primary}" />
<Setter Property="BorderBrush" Value="{me:BrushBinding SelfPath=Background}" />
<Setter Property="Foreground" Value="{DynamicResource MyNet.Brushes.Primary.Foreground}" />
<Setter Property="p:ThemeAssist.IsCheckedForeground" Value="{DynamicResource MyNet.Brushes.Primary.Foreground}" />
</Style>
Expand All @@ -237,6 +238,7 @@
<Setter Property="p:ThemeAssist.IsCheckedBorderBrush" Value="{me:BrushBinding SelfPath=Background}" />
<Setter Property="p:ThemeAssist.IsMouseOverForeground" Value="{me:BrushBinding SelfPath=Background, Contrast=True}" />
<Setter Property="Background" Value="{DynamicResource MyNet.Brushes.Primary}" />
<Setter Property="BorderBrush" Value="{me:BrushBinding SelfPath=Background}" />
<Setter Property="Foreground" Value="{DynamicResource MyNet.Brushes.Primary.Foreground}" />
<Setter Property="p:ThemeAssist.IsCheckedForeground" Value="{DynamicResource MyNet.Brushes.Primary.Foreground}" />
</Style>
Expand Down Expand Up @@ -275,6 +277,7 @@
<Setter Property="p:ThemeAssist.IsMouseOverBackground" Value="{me:BrushBinding SelfPath=Background, Opacity={StaticResource MyNet.Opacity.Hovered}}" />
<Setter Property="p:ThemeAssist.IsMouseOverForeground" Value="{me:BrushBinding SelfPath=Background, Contrast=True}" />
<Setter Property="Background" Value="{DynamicResource MyNet.Brushes.Primary}" />
<Setter Property="BorderBrush" Value="{me:BrushBinding SelfPath=Background}" />
<Setter Property="Foreground" Value="{DynamicResource MyNet.Brushes.Primary.Foreground}" />
<Setter Property="p:ThemeAssist.IsCheckedForeground" Value="{DynamicResource MyNet.Brushes.Primary.Foreground}" />
</Style>
Expand All @@ -297,6 +300,7 @@
<Setter Property="p:ThemeAssist.IsCheckedBorderBrush" Value="{me:BrushBinding SelfPath=Background}" />
<Setter Property="p:ThemeAssist.IsMouseOverForeground" Value="{me:BrushBinding SelfPath=Background, Contrast=True}" />
<Setter Property="Background" Value="{DynamicResource MyNet.Brushes.Primary}" />
<Setter Property="BorderBrush" Value="{me:BrushBinding SelfPath=Background}" />
<Setter Property="Foreground" Value="{DynamicResource MyNet.Brushes.Primary.Foreground}" />
<Setter Property="p:ThemeAssist.IsCheckedForeground" Value="{DynamicResource MyNet.Brushes.Primary.Foreground}" />
</Style>
Expand Down

0 comments on commit 0be393b

Please sign in to comment.