Skip to content

Commit

Permalink
Merge pull request gitextensions#8819 from RussKie/fix_8732
Browse files Browse the repository at this point in the history
Correct padding increase
  • Loading branch information
RussKie committed Feb 6, 2021
2 parents c3430f4 + b3eaa58 commit e40b0fc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions GitUI/CommandsDialogs/FormBrowse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ public FormBrowse([NotNull] GitUICommands commands, string filter, ObjectId sele
ManageWorktreeSupport();

WorkaroundToolbarLocationBug();
WorkaroundPaddingIncreaseBug();

var toolBackColor = SystemColors.Window;
var toolForeColor = SystemColors.WindowText;
Expand Down Expand Up @@ -531,6 +532,13 @@ void WorkaroundToolbarLocationBug()
}
#endif
}

void WorkaroundPaddingIncreaseBug()
{
MainSplitContainer.Panel1.Padding = new Padding(1);
RevisionsSplitContainer.Panel1.Padding = new Padding(1);
RevisionsSplitContainer.Panel2.Padding = new Padding(1);
}
}

private void FillNextPullActionAsDefaultToolStripMenuItems()
Expand Down

0 comments on commit e40b0fc

Please sign in to comment.