Updated release notes

Finally a working zoomed out view for the Semantic Zoom
This commit is contained in:
BONNEVILLE Geoffroy
2018-06-06 12:13:25 +02:00
parent 9566c9a719
commit 1334b266b9
4 changed files with 20 additions and 36 deletions

View File

@@ -199,7 +199,7 @@
<TextBlock x:Uid="GroupCreateEntry" VerticalAlignment="Center" Margin="10,0,0,0" /> <TextBlock x:Uid="GroupCreateEntry" VerticalAlignment="Center" Margin="10,0,0,0" />
</StackPanel> </StackPanel>
</HyperlinkButton> </HyperlinkButton>
<SemanticZoom Grid.Column="1" ViewChangeStarted="SemanticZoom_ViewChangeStarted" Margin="20,60,0,0"> <SemanticZoom Grid.Column="1" ViewChangeStarted="SemanticZoom_ViewChangeStarted" Margin="20,60,0,0" ScrollViewer.HorizontalScrollBarVisibility="Visible">
<SemanticZoom.ZoomedInView> <SemanticZoom.ZoomedInView>
<!-- Horizontal scrolling grid --> <!-- Horizontal scrolling grid -->
<GridView <GridView
@@ -315,36 +315,30 @@
</GridView> </GridView>
</SemanticZoom.ZoomedInView> </SemanticZoom.ZoomedInView>
<SemanticZoom.ZoomedOutView> <SemanticZoom.ZoomedOutView>
<ListView <GridView
Height="Auto" Width="Auto"
ItemsSource="{Binding Source={StaticResource EntriesZoomedOutViewSource}}" ItemsSource="{Binding Source={StaticResource EntriesZoomedOutViewSource}}"
SelectionChanged="groups_SelectionChanged" SelectionChanged="groups_SelectionChanged"
SelectionMode="None" SelectionMode="None"
IsSynchronizedWithCurrentItem="False"> IsSynchronizedWithCurrentItem="False">
<ListView.ItemsPanel> <GridView.ItemTemplate>
<ItemsPanelTemplate>
<VirtualizingStackPanel Orientation="Horizontal" />
</ItemsPanelTemplate>
</ListView.ItemsPanel>
<ListView.ItemTemplate>
<DataTemplate> <DataTemplate>
<StackPanel Orientation="Vertical"> <StackPanel Orientation="Vertical">
<TextBlock Text="{Binding Name}" Style="{StaticResource TitleTextBlockStyle}" TextWrapping="NoWrap"/> <TextBlock Width="100" Text="{Binding Name}" Style="{StaticResource TitleTextBlockStyle}" TextWrapping="NoWrap"/>
</StackPanel> </StackPanel>
</DataTemplate> </DataTemplate>
</ListView.ItemTemplate> </GridView.ItemTemplate>
<ListView.GroupStyle> <GridView.GroupStyle>
<GroupStyle HidesIfEmpty="True"> <GroupStyle HidesIfEmpty="True">
<GroupStyle.HeaderTemplate> <GroupStyle.HeaderTemplate>
<DataTemplate> <DataTemplate>
<Grid Background="LightGray" Margin="0,0,10,0" HorizontalAlignment="Left"> <Grid Background="LightGray" HorizontalAlignment="Left">
<TextBlock Text="{Binding Key}" Width="40" Foreground="Black" Margin="30" Style="{StaticResource HeaderTextBlockStyle}"/> <TextBlock Text="{Binding Key}" Width="40" Margin="30" Foreground="Black" Style="{StaticResource HeaderTextBlockStyle}" TextAlignment="Center" />
</Grid> </Grid>
</DataTemplate> </DataTemplate>
</GroupStyle.HeaderTemplate> </GroupStyle.HeaderTemplate>
</GroupStyle> </GroupStyle>
</ListView.GroupStyle> </GridView.GroupStyle>
</ListView> </GridView>
</SemanticZoom.ZoomedOutView> </SemanticZoom.ZoomedOutView>
</SemanticZoom> </SemanticZoom>
</Grid> </Grid>

View File

@@ -1,4 +1,2 @@
Application now correctly resumes from suspend Design improvements
Code enhancements KeePassLib version bump to 2.39.1
Return of the Donate page, with Paypal
KeePassLib version bump to 2.38

View File

@@ -1,4 +1,2 @@
L'application recupere correctement d'une suspension Ameliorations de design
Ameliorations de code Version de la KeePassLib passe a 2.39.1
Retour de la page de donation, avec Paypal
Version de la KeePassLib montee a 2.38

View File

@@ -327,10 +327,10 @@ namespace ModernKeePassLib.Utility
return strTargetFile; return strTargetFile;
} }
#if (!ModernKeePassLib && !KeePassLibSD && !KeePassRT) #if (!KeePassLibSD && !KeePassUAP && !ModernKeePassLib)
if(NativeLib.IsUnix()) if(NativeLib.IsUnix())
#endif
{ {
#endif
bool bBaseUnc = IsUncPath(strBaseFile); bool bBaseUnc = IsUncPath(strBaseFile);
bool bTargetUnc = IsUncPath(strTargetFile); bool bTargetUnc = IsUncPath(strTargetFile);
if((!bBaseUnc && bTargetUnc) || (bBaseUnc && !bTargetUnc)) if((!bBaseUnc && bTargetUnc) || (bBaseUnc && !bTargetUnc))
@@ -358,9 +358,9 @@ namespace ModernKeePassLib.Utility
} }
return sbRel.ToString(); return sbRel.ToString();
#if (!KeePassLibSD && !KeePassUAP && !ModernKeePassLib)
} }
#if (!ModernKeePassLib && !KeePassLibSD && !KeePassRT)
try // Windows try // Windows
{ {
const int nMaxPath = NativeMethods.MAX_PATH * 2; const int nMaxPath = NativeMethods.MAX_PATH * 2;
@@ -453,16 +453,10 @@ namespace ModernKeePassLib.Utility
string str; string str;
try try
{ {
#if KeePassRT #if ModernKeePassLib
var dirT = Windows.Storage.StorageFolder.GetFolderFromPathAsync(
strPath).AwaitEx();
str = dirT.Path;
#elif ModernKeePassLib
var dirT = StorageFolder.GetFolderFromPathAsync( var dirT = StorageFolder.GetFolderFromPathAsync(
strPath).GetResults(); strPath).GetResults();
str = dirT.Path; str = dirT.Path;
/*var dirT = FileSystem.Current.GetFolderFromPathAsync(strPath).Result;
str = dirT.Path;*/
#else #else
str = Path.GetFullPath(strPath); str = Path.GetFullPath(strPath);
#endif #endif
@@ -640,8 +634,8 @@ namespace ModernKeePassLib.Utility
string strDir; string strDir;
if(NativeLib.IsUnix()) if(NativeLib.IsUnix())
strDir = NativeMethods.GetUserRuntimeDir(); strDir = NativeMethods.GetUserRuntimeDir();
#if ModernKeePassLib #if KeePassUAP || ModernKeePassLib
else strDir = ApplicationData.Current.TemporaryFolder.Path; else strDir = Windows.Storage.ApplicationData.Current.TemporaryFolder.Path;
#else #else
else strDir = Path.GetTempPath(); else strDir = Path.GetTempPath();