mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-21 21:30:37 +08:00
ux: removes padding when calculate layouts
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user