mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 11:44:59 +00:00
fix: left side by layout did not update after size changed
This commit is contained in:
parent
c83b1fb145
commit
b084ee5168
2 changed files with 7 additions and 3 deletions
|
@ -144,9 +144,13 @@ namespace SourceGit.Views
|
|||
private void OnLeftSidebarDataGridPropertyChanged(object _, AvaloniaPropertyChangedEventArgs e)
|
||||
{
|
||||
if (e.Property == DataGrid.ItemsSourceProperty || e.Property == DataGrid.IsVisibleProperty)
|
||||
{
|
||||
UpdateLeftSidebarLayout();
|
||||
}
|
||||
}
|
||||
|
||||
private void OnLeftSidebarSizeChanged(object _, SizeChangedEventArgs e)
|
||||
{
|
||||
if (e.HeightChanged)
|
||||
UpdateLeftSidebarLayout();
|
||||
}
|
||||
|
||||
private void UpdateLeftSidebarLayout()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue