mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-22 20:37:19 -08:00
ux: removes padding when calculate layouts
This commit is contained in:
parent
c9721c9fc1
commit
2e12717235
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ namespace SourceGit.Views
|
|||
if (!IsLoaded)
|
||||
return;
|
||||
|
||||
var leftHeight = LeftSidebarGroups.Bounds.Height - 28.0 * 5;
|
||||
var leftHeight = LeftSidebarGroups.Bounds.Height - 28.0 * 5 - 4;
|
||||
var localBranchRows = vm.IsLocalBranchGroupExpanded ? LocalBranchTree.Rows.Count : 0;
|
||||
var remoteBranchRows = vm.IsRemoteGroupExpanded ? RemoteBranchTree.Rows.Count : 0;
|
||||
var desiredBranches = (localBranchRows + remoteBranchRows) * 24.0;
|
||||
|
|
Loading…
Reference in a new issue