Skip to content

Commit

Permalink
Fixes bug where tab icons are not centered when fullscreen, resolves #47
Browse files Browse the repository at this point in the history
 (#67)

* Fixes bug where tab icons are not centered when fullscreen

* Move fix from MainWindow.axaml to App.axaml
  • Loading branch information
charleshagen authored Sep 5, 2024
1 parent 02a9185 commit 5dab475
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Lumidex/App.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
</Application.DataTemplates>

<Application.Styles>
<Style Selector="Window[WindowState=Maximized]">
<Setter Property="Padding" Value="8" />
</Style>
<FluentTheme>
<FluentTheme.Palettes>
<ColorPaletteResources
Expand Down Expand Up @@ -48,5 +51,4 @@
<StyleInclude Source="avares://Avalonia.Controls.DataGrid/Themes/Fluent.xaml" />
<dialogHostAvalonia:DialogHostStyles />
</Application.Styles>

</Application>
</Application>

0 comments on commit 5dab475

Please sign in to comment.