From 7a2ce305126722c01ae5f386d467830a56bec861 Mon Sep 17 00:00:00 2001 From: Geoffroy BONNEVILLE Date: Thu, 14 May 2020 16:09:06 +0200 Subject: [PATCH] Design improvements --- ModernKeePass/ResourceDictionaries/Styles.xaml | 4 ++-- ModernKeePass/Views/GroupDetailPage.xaml | 1 - .../UserControls/HamburgerMenuUserControl.xaml | 18 +++++++++--------- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/ModernKeePass/ResourceDictionaries/Styles.xaml b/ModernKeePass/ResourceDictionaries/Styles.xaml index eac1bb8..8f2f848 100644 --- a/ModernKeePass/ResourceDictionaries/Styles.xaml +++ b/ModernKeePass/ResourceDictionaries/Styles.xaml @@ -5,10 +5,10 @@ 60 40 - 300 + 250 40 60 - 300 + 250 SlateBlue MediumPurple diff --git a/ModernKeePass/Views/GroupDetailPage.xaml b/ModernKeePass/Views/GroupDetailPage.xaml index 46a22db..19c423a 100644 --- a/ModernKeePass/Views/GroupDetailPage.xaml +++ b/ModernKeePass/Views/GroupDetailPage.xaml @@ -83,7 +83,6 @@ AutomationProperties.AutomationId="ItemGridView" AutomationProperties.Name="Entries" TabIndex="1" - Margin="10,0,0,0" SelectionChanged="entries_SelectionChanged" IsSynchronizedWithCurrentItem="False" BorderBrush="{StaticResource ListViewItemSelectedBackgroundThemeBrush}" diff --git a/ModernKeePass/Views/UserControls/HamburgerMenuUserControl.xaml b/ModernKeePass/Views/UserControls/HamburgerMenuUserControl.xaml index 2993bbe..5c7c133 100644 --- a/ModernKeePass/Views/UserControls/HamburgerMenuUserControl.xaml +++ b/ModernKeePass/Views/UserControls/HamburgerMenuUserControl.xaml @@ -94,12 +94,12 @@ - + - + @@ -115,13 +115,13 @@ BorderThickness="0" Width="{StaticResource ExpandedMenuSize}" HorizontalContentAlignment="Left"> - + - + @@ -136,7 +136,7 @@ x:Name="NewGroupTextBox" Margin="0,5,0,5" Visibility="Collapsed" - Width="280" + Width="230" HorizontalAlignment="Center" ButtonCommand="{Binding ActionButtonCommand, ElementName=UserControl}" ButtonCommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=Text}" @@ -167,13 +167,13 @@ BorderThickness="0" Width="{StaticResource ExpandedMenuSize}" HorizontalContentAlignment="Left"> - + - + @@ -189,13 +189,13 @@ BorderThickness="0" Width="{StaticResource ExpandedMenuSize}" HorizontalContentAlignment="Left"> - + - +