mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57: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)
|
if (!IsLoaded)
|
||||||
return;
|
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 localBranchRows = vm.IsLocalBranchGroupExpanded ? LocalBranchTree.Rows.Count : 0;
|
||||||
var remoteBranchRows = vm.IsRemoteGroupExpanded ? RemoteBranchTree.Rows.Count : 0;
|
var remoteBranchRows = vm.IsRemoteGroupExpanded ? RemoteBranchTree.Rows.Count : 0;
|
||||||
var desiredBranches = (localBranchRows + remoteBranchRows) * 24.0;
|
var desiredBranches = (localBranchRows + remoteBranchRows) * 24.0;
|
||||||
|
|
Loading…
Reference in a new issue