mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-21 13:20:30 +08:00
fix: the MinWidth of author column changed after dragging the right border of it (#1591)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -68,7 +68,7 @@ namespace SourceGit.ViewModels
|
||||
public DataGridLength AuthorColumnWidth
|
||||
{
|
||||
get => _authorColumnWidth;
|
||||
set => SetProperty(ref _authorColumnWidth, value);
|
||||
set => SetProperty(ref _authorColumnWidth, new DataGridLength(value.Value, DataGridLengthUnitType.Pixel, 0, value.DisplayValue));
|
||||
}
|
||||
|
||||
private GridLength _repositorySidebarWidth = new GridLength(250, GridUnitType.Pixel);
|
||||
@@ -76,6 +76,6 @@ namespace SourceGit.ViewModels
|
||||
private GridLength _stashesLeftWidth = new GridLength(300, GridUnitType.Pixel);
|
||||
private GridLength _commitDetailChangesLeftWidth = new GridLength(256, GridUnitType.Pixel);
|
||||
private GridLength _commitDetailFilesLeftWidth = new GridLength(256, GridUnitType.Pixel);
|
||||
private DataGridLength _authorColumnWidth = new DataGridLength(120, DataGridLengthUnitType.Pixel, 120, 120);
|
||||
private DataGridLength _authorColumnWidth = new DataGridLength(120, DataGridLengthUnitType.Pixel, 0, 120);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user