Skip to content

Portable Tool for an Ideal Windows Setup

-alignment new buttons

Greedeksc8abb8cab83e
diff --git a/.Source/GTweak/Windows/MainWindow.xaml b/.Source/GTweak/Windows/MainWindow.xaml
index 376ce2d7..98c1fa62 100644
--- a/.Source/GTweak/Windows/MainWindow.xaml
+++ b/.Source/GTweak/Windows/MainWindow.xaml
@@ -221,41 +221,41 @@
<Border Background="{DynamicResource Color_Accent}" Height="1.2" Width="330" VerticalAlignment="Bottom" Margin="0,10,0,0" CornerRadius="10 10 0 0"/>
- <StackPanel Orientation="Horizontal" Margin="0,15,0,0" Width="330">
- <Button x:Name="BtnExport" Style="{StaticResource BtnDefault}" Width="100" Height="60" Margin="5,0,0,0" Cursor="Hand" PreviewMouseLeftButtonUp="BtnExport_PreviewMouseLeftButtonUp">
+ <StackPanel Orientation="Horizontal" Margin="0,20,0,0" Width="330">
+ <Button x:Name="BtnExport" Style="{StaticResource BtnDefault}" Width="100" Height="55" Margin="5,0,0,0" Cursor="Hand" PreviewMouseLeftButtonUp="BtnExport_PreviewMouseLeftButtonUp">
<StackPanel Orientation="Vertical">
- <Image Margin="5,0,0,0" Width="26" Height="26">
+ <Image Width="26" Height="26">
<Image.Style>
<Style TargetType="{x:Type Image}">
<Setter Property="Source" Value="{StaticResource DI_Export}"/>
</Style>
</Image.Style>
</Image>
- <TextBlock Text="{DynamicResource btn_export}" Margin="0,2,0,0"/>
+ <TextBlock Text="{DynamicResource btn_export}"/>
</StackPanel>
</Button>
- <Button x:Name="BtnImport" Style="{StaticResource BtnDefaultM}" Width="100" Height="60" Margin="10,0,0,0" Cursor="Hand" PreviewMouseLeftButtonUp="BtnImport_PreviewMouseLeftButtonUp">
+ <Button x:Name="BtnImport" Style="{StaticResource BtnDefaultM}" Width="100" Height="55" Margin="10,0,0,0" Cursor="Hand" PreviewMouseLeftButtonUp="BtnImport_PreviewMouseLeftButtonUp">
<StackPanel Orientation="Vertical">
- <Image Margin="5,0,0,0" Width="26" Height="26">
+ <Image Width="26" Height="26">
<Image.Style>
<Style TargetType="{x:Type Image}">
<Setter Property="Source" Value="{StaticResource DI_Import}"/>
</Style>
</Image.Style>
</Image>
- <TextBlock Text="{DynamicResource btn_import}" Margin="0,2,0,0"/>
+ <TextBlock Text="{DynamicResource btn_import}"/>
</StackPanel>
</Button>
- <Button x:Name="BtnDelete" Style="{StaticResource BtnDefault}" Width="100" Height="60" Margin="10,0,0,0" Cursor="Hand" PreviewMouseLeftButtonUp="BtnDelete_PreviewMouseLeftButtonUp">
+ <Button x:Name="BtnDelete" Style="{StaticResource BtnDefault}" Width="100" Height="55" Margin="10,0,0,0" Cursor="Hand" PreviewMouseLeftButtonUp="BtnDelete_PreviewMouseLeftButtonUp">
<StackPanel Orientation="Vertical">
- <Image Margin="5,0,0,0" Width="26" Height="26">
+ <Image Width="26" Height="26">
<Image.Style>
<Style TargetType="{x:Type Image}">
<Setter Property="Source" Value="{StaticResource DI_SelfRemove}"/>
</Style>
</Image.Style>
</Image>
- <TextBlock Text="{DynamicResource btn_selfremove}" Margin="0,2,0,0"/>
+ <TextBlock Text="{DynamicResource btn_selfremove}"/>
</StackPanel>
</Button>
</StackPanel>