|
31 | 31 |
|
32 | 32 | <Button VerticalAlignment="Top" Content="Add To Watchlist" Background="#A26B8399" Foreground="White" HorizontalAlignment="Right" Margin="0,-26,10,0" Command="{Binding ManuallyAddFolderToWatcherCommand}" /> |
33 | 33 |
|
34 | | - <ui:ListView x:Name="uiWatcherListView" ScrollViewer.VerticalScrollBarVisibility="Hidden" Margin="-20,60,-20,0" Padding="10,0,10,0" ItemsSource="{Binding Source = {StaticResource src}}" d:ItemsSource="{Binding Source = {StaticResource dtd}}" KeyboardNavigation.TabNavigation="None" ui:ScrollViewerHelper.AutoHideScrollBars="False"> |
| 34 | + <ui:ListView x:Name="uiWatcherListView" Margin="-20,60,-20,0" Padding="10,0,10,0" ItemsSource="{Binding Source = {StaticResource src}}" d:ItemsSource="{Binding Source = {StaticResource dtd}}" KeyboardNavigation.TabNavigation="None" ui:ScrollViewerHelper.AutoHideScrollBars="True" > |
35 | 35 | <ui:ListView.Background> |
36 | 36 | <LinearGradientBrush StartPoint="0.5, 0" EndPoint="0.5, 1"> |
37 | 37 | <GradientStop Color="#00000000" Offset="0"/> |
|
93 | 93 | <TextBlock Text="{Binding CompressionLevel, Converter={StaticResource CompressionLevelAbbreviatedConverter}}" d:Text="fds" FontSize="11" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FFF" FontWeight="SemiBold" /> |
94 | 94 | </Border> |
95 | 95 |
|
96 | | - <TextBlock Width="220" Text="{Binding Folder}" TextTrimming="CharacterEllipsis" FontSize="12" Foreground="#80FFFFFF" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="50,20,0,0"/> |
97 | | - <TextBlock Text="{Binding DecayPercentage, StringFormat={}{0}% decayed, Mode=OneWay, Converter={StaticResource DecimalToPercentageConverter}}" FontSize="12" Foreground="#FFBFC7CE" VerticalAlignment="Top" Margin="0,-2,30,0" HorizontalAlignment="Right"/> |
98 | | - |
| 96 | + <TextBlock Width="220" Text="{Binding Folder, Converter={StaticResource TokenisedFolderPathConverter}}" TextTrimming="CharacterEllipsis" FontSize="12" Foreground="#80FFFFFF" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="50,20,0,0"> |
| 97 | + <TextBlock.ToolTip > |
| 98 | + <ToolTip Background="#304257" Placement="RelativePoint" > |
| 99 | + <TextBlock Text="{Binding Folder, Converter={StaticResource TokenisedFolderPathConverter}}" TextWrapping="NoWrap" Foreground="#FFBFC7CE" FontSize="12"/> |
| 100 | + </ToolTip> |
| 101 | + </TextBlock.ToolTip> |
| 102 | + </TextBlock> |
| 103 | + <TextBlock x:Name="DecayedText" Text="{Binding DecayPercentage, StringFormat={}{0}% decayed, Mode=OneWay, Converter={StaticResource DecimalToPercentageConverter}}" FontSize="12" Foreground="#FFBFC7CE" VerticalAlignment="Top" Margin="0,-2,30,0" HorizontalAlignment="Right" d:Text="7% decayed"/> |
| 104 | + <TextBlock x:Name="SavedText" Visibility="Collapsed" Text="{Binding SavedSpace, StringFormat={}{0} saved, Mode=OneWay, Converter={StaticResource BytesToReadableConverter}, ConverterParameter=0}" FontSize="12" Foreground="#FFBFC7CE" VerticalAlignment="Top" Margin="0,-2,30,0" HorizontalAlignment="Right" d:Text="39GB saved"/> |
99 | 105 | <ui:ProgressBar Height="6" Width="108" CornerRadius="3" Value="{Binding DecayPercentage, Mode=OneWay, Converter={StaticResource DecimalToPercentageConverter}, ConverterParameter='I'}" Foreground="{Binding DecayPercentage, Converter={StaticResource ProgressBarColorConverter}}" Background="#808B9FB3" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="0,25,30,0" > |
100 | 106 | <ui:ProgressBar.Effect> |
101 | 107 | <DropShadowEffect Direction="-135" Opacity="0.2" ShadowDepth="3" BlurRadius="4"/> |
|
114 | 120 | <TextBlock FontSize="12" Foreground="#FF8B9FB3" Text="last modified:" Margin="0,0,27,0"/> |
115 | 121 | <TextBlock FontSize="12" Foreground="#FF8B9FB3" Text="{Binding LastSystemModifiedDate, Converter={StaticResource RelativeDateConverter}}" d:Text="fds"/> |
116 | 122 | </StackPanel> |
| 123 | + |
| 124 | + |
| 125 | + |
117 | 126 | <Button HorizontalAlignment="Right" Command="{Binding ElementName=uiWatcherListView, Path=DataContext.RemoveWatcherCommand}" CommandParameter="{Binding}" Background="#DD6B6B" Foreground="White"> |
118 | 127 | <ui:FontIcon Glyph="" FontSize="14"/> |
119 | 128 | </Button> |
|
0 commit comments