Skip to content

Commit 0cb68e3

Browse files
committed
Merge pull request #658 from JoeRobich/patch-5
Improve Breakpoint ToolStrip DPI scaling
2 parents fc143ef + bed787a commit 0cb68e3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

External/Plugins/FlashDebugger/Controls/BreakPointUI.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ private void InitializeComponent()
276276
// tsActions
277277
//
278278
this.tsActions.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
279+
this.tsActions.ImageScalingSize = ScaleHelper.Scale(new Size(16, 16));
279280
this.tsActions.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
280281
this.tsbRemoveSelected,
281282
this.tsbRemoveFiltered,
@@ -344,14 +345,14 @@ private void InitializeComponent()
344345
// tstxtFilter
345346
//
346347
this.tstxtFilter.Name = "tstxtFilter";
347-
this.tstxtFilter.Size = new System.Drawing.Size(90, 23);
348+
this.tstxtFilter.Size = new System.Drawing.Size(ScaleHelper.Scale(90), 23);
348349
this.tstxtFilter.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TstxtFilter_KeyDown);
349350
//
350351
// tscbFilterColumns
351352
//
352353
this.tscbFilterColumns.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
353354
this.tscbFilterColumns.Name = "tscbFilterColumns";
354-
this.tscbFilterColumns.Size = new System.Drawing.Size(116, 23);
355+
this.tscbFilterColumns.Size = new System.Drawing.Size(ScaleHelper.Scale(116), 23);
355356
//
356357
// BreakPointUI
357358
//

0 commit comments

Comments
 (0)