mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 02:40:24 +08:00
ux: add an empty icon if there are no git command logs available
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -96,6 +96,13 @@
|
||||
</ListBox.ItemTemplate>
|
||||
</ListBox>
|
||||
|
||||
<Path Grid.Column="0"
|
||||
HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Width="48" Height="48"
|
||||
Data="{StaticResource Icons.Empty}"
|
||||
Fill="{DynamicResource Brush.FG2}"
|
||||
IsVisible="{Binding Logs.Count, Converter={x:Static c:IntConverters.IsZero}}"/>
|
||||
|
||||
<Border Grid.Column="2"
|
||||
BorderBrush="{DynamicResource Brush.Border2}"
|
||||
BorderThickness="1"
|
||||
|
||||
Reference in New Issue
Block a user