Major redesign in the Group Detail page:

- groups and entries are inverted
- groups are in a collapsable menu (to be improved!)
This commit is contained in:
2017-10-03 18:38:31 +02:00
committed by BONNEVILLE Geoffroy
parent 616d922145
commit 013108f2ec
5 changed files with 138 additions and 117 deletions

View File

@@ -46,8 +46,6 @@ namespace ModernKeePass.ViewModels
public System.Drawing.Color? ForegroundColor => _pwEntry?.ForegroundColor;
public FontWeight FontWeight => _pwEntry == null ? FontWeights.Bold : FontWeights.Normal;
public Symbol IconSymbol
{
get

View File

@@ -1,5 +1,6 @@
using System.Collections.ObjectModel;
using System.Linq;
using Windows.UI.Text;
using Windows.UI.Xaml.Controls;
using ModernKeePass.Common;
using ModernKeePass.Mappings;
@@ -29,6 +30,7 @@ namespace ModernKeePass.ViewModels
}
public bool IsNotRoot => ParentGroup != null;
public FontWeight FontWeight => _pwGroup == null ? FontWeights.Bold : FontWeights.Normal;
private readonly PwGroup _pwGroup;
public GroupVm() {}