mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
style: remove file name in FileHistories's title bar
This commit is contained in:
parent
6d2e10cec2
commit
391b017200
2 changed files with 2 additions and 10 deletions
|
@ -9,11 +9,6 @@ namespace SourceGit.ViewModels
|
||||||
{
|
{
|
||||||
public class FileHistories : ObservableObject
|
public class FileHistories : ObservableObject
|
||||||
{
|
{
|
||||||
public string File
|
|
||||||
{
|
|
||||||
get => _file;
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool IsLoading
|
public bool IsLoading
|
||||||
{
|
{
|
||||||
get => _isLoading;
|
get => _isLoading;
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
IsVisible="{OnPlatform False, Linux=True}"/>
|
IsVisible="{OnPlatform False, Linux=True}"/>
|
||||||
|
|
||||||
<!-- TitleBar -->
|
<!-- TitleBar -->
|
||||||
<Grid Grid.Row="0" ColumnDefinitions="Auto,Auto,Auto,*,Auto">
|
<Grid Grid.Row="0" ColumnDefinitions="Auto,Auto,*,Auto">
|
||||||
<!-- Bottom border -->
|
<!-- Bottom border -->
|
||||||
<Border Grid.Column="0" Grid.ColumnSpan="5"
|
<Border Grid.Column="0" Grid.ColumnSpan="5"
|
||||||
Background="{DynamicResource Brush.TitleBar}"
|
Background="{DynamicResource Brush.TitleBar}"
|
||||||
|
@ -49,11 +49,8 @@
|
||||||
<!-- Title -->
|
<!-- Title -->
|
||||||
<TextBlock Grid.Column="2" Margin="4,0,0,0" Text="{DynamicResource Text.FileHistory}" FontWeight="Bold" IsHitTestVisible="False" VerticalAlignment="Center"/>
|
<TextBlock Grid.Column="2" Margin="4,0,0,0" Text="{DynamicResource Text.FileHistory}" FontWeight="Bold" IsHitTestVisible="False" VerticalAlignment="Center"/>
|
||||||
|
|
||||||
<!-- Target File -->
|
|
||||||
<TextBlock Grid.Column="3" Margin="8,0,0,0" Text="{Binding File}" FontSize="11" FontStyle="Italic" IsHitTestVisible="False" VerticalAlignment="Center"/>
|
|
||||||
|
|
||||||
<!-- Caption Buttons (Windows/Linux) -->
|
<!-- Caption Buttons (Windows/Linux) -->
|
||||||
<Border Grid.Column="4" IsVisible="{OnPlatform True, macOS=False}">
|
<Border Grid.Column="3" IsVisible="{OnPlatform True, macOS=False}">
|
||||||
<v:CaptionButtons/>
|
<v:CaptionButtons/>
|
||||||
</Border>
|
</Border>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
Loading…
Reference in a new issue