GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
refactor(bar): set bar padding using dockpanel instead of grid
Lars Bergera3e3d6a83ae4
diff --git a/GlazeWM.Bar/MainWindow.xaml b/GlazeWM.Bar/MainWindow.xamlindex 39fef7b3..da6dba4d 100644--- a/GlazeWM.Bar/MainWindow.xaml+++ b/GlazeWM.Bar/MainWindow.xaml@@ -14,22 +14,8 @@Width="800"Height="50"Topmost="True">- <Grid>- <Grid.ColumnDefinitions>- <ColumnDefinition Width="10" />- <ColumnDefinition Width="*" />- <ColumnDefinition Width="10" />- </Grid.ColumnDefinitions>- <Grid.RowDefinitions>- <RowDefinition Height="10" />- <RowDefinition Height="*" />- <RowDefinition Height="10" />- </Grid.RowDefinitions>-- <ItemsControl- Grid.Column="1"- Grid.Row="1"- x:Name="WorkspaceItems">+ <DockPanel Margin="10">+ <ItemsControl x:Name="WorkspaceItems"><ItemsControl.ItemsPanel><ItemsPanelTemplate><UniformGrid@@ -73,5 +59,5 @@</DataTemplate></ItemsControl.ItemTemplate></ItemsControl>- </Grid>+ </DockPanel></Window>