Browse Source

Changed button margin

CPKreuz 4 years ago
parent
commit
5f728411dd
2 changed files with 2 additions and 2 deletions
  1. 1 1
      PixiEditor/Styles/ThemeStyle.xaml
  2. 1 1
      PixiEditor/Views/MainWindow.xaml

+ 1 - 1
PixiEditor/Styles/ThemeStyle.xaml

@@ -124,7 +124,7 @@
            BasedOn="{StaticResource BaseDarkButton}">
         <Setter Property="TextBlock.FontFamily" Value="Segoe MDL2 Assets"/>
         <Setter Property="TextBlock.FontSize" Value="15"/>
-        <Setter Property="TextBlock.Width" Value="50"/>
+        <Setter Property="TextBlock.Width" Value="30"/>
 
         <Style.Triggers>
             <Trigger Property="IsEnabled" Value="True">

+ 1 - 1
PixiEditor/Views/MainWindow.xaml

@@ -175,7 +175,7 @@
         </DockPanel>
         <StackPanel Background="{StaticResource MainColor}" Orientation="Horizontal" Grid.ColumnSpan="3" Grid.Column="0"
                      Grid.Row="1">
-            <Button Command="{Binding UndoSubViewModel.UndoCommand}" Style="{StaticResource ToolSettingsGlyphButton}" Content="&#xE7A7;"/>
+            <Button Margin="1,0,0,0" Command="{Binding UndoSubViewModel.UndoCommand}" Style="{StaticResource ToolSettingsGlyphButton}" Content="&#xE7A7;"/>
             <Button Command="{Binding UndoSubViewModel.RedoCommand}" Style="{StaticResource ToolSettingsGlyphButton}" Content="&#xE7A6;"/>
             <Grid Margin="5,5,10,5" Background="{StaticResource BrighterAccentColor}" Width="5"/>
             <Label Style="{StaticResource BaseLabel}" FontSize="12"