mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 20:24:59 +00:00
feature: allow to resize the width of AUTHOR
column in histories (#203)
This commit is contained in:
parent
738189393e
commit
06ba2fd733
3 changed files with 73 additions and 27 deletions
|
@ -120,8 +120,11 @@ namespace SourceGit.Views
|
|||
}
|
||||
}
|
||||
|
||||
var headerHeight = grid.ColumnHeaderHeight;
|
||||
startY -= headerHeight;
|
||||
|
||||
// Apply scroll offset.
|
||||
context.PushClip(new Rect(Bounds.Left, Bounds.Top, grid.Columns[0].ActualWidth, Bounds.Height));
|
||||
context.PushClip(new Rect(Bounds.Left, Bounds.Top + headerHeight, grid.Columns[0].ActualWidth, Bounds.Height));
|
||||
context.PushTransform(Matrix.CreateTranslation(0, -startY));
|
||||
|
||||
// Calculate bounds.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue