Skip to content

Commit

Permalink
Fix toolbar dpi scaling issue (#9684)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmiossec committed Oct 26, 2021
1 parent 3ec4039 commit 1a9098c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions GitUI/UserControls/FilterToolBar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,6 @@ public void InitToolStripStyles(Color toolForeColor, Color toolBackColor)
tscboBranchFilter.ForeColor = toolForeColor;
tstxtRevisionFilter.BackColor = toolTextBoxBackColor;
tstxtRevisionFilter.ForeColor = toolForeColor;

// Scale tool strip items according to DPI
tscboBranchFilter.Size = DpiUtil.Scale(tscboBranchFilter.Size);
tstxtRevisionFilter.Size = DpiUtil.Scale(tstxtRevisionFilter.Size);
}

public void PreventToolStripSplitButtonClosing(ToolStripSplitButton? control)
Expand Down

0 comments on commit 1a9098c

Please sign in to comment.