mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-09-29 16:51:18 +13:00
[BUG] "Pixel maximum menu width" not working as expected (#319), version 1.2.6.5
This commit is contained in:
parent
3ba03b8f9e
commit
36ceb2b9af
3 changed files with 6 additions and 4 deletions
|
@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.6.4")]
|
[assembly: AssemblyVersion("1.2.6.5")]
|
||||||
[assembly: AssemblyFileVersion("1.2.6.4")]
|
[assembly: AssemblyFileVersion("1.2.6.5")]
|
||||||
|
|
4
UserInterface/Menu.Designer.cs
generated
4
UserInterface/Menu.Designer.cs
generated
|
@ -113,7 +113,7 @@
|
||||||
//
|
//
|
||||||
// tableLayoutPanelSearch
|
// tableLayoutPanelSearch
|
||||||
//
|
//
|
||||||
this.tableLayoutPanelSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
this.tableLayoutPanelSearch.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||||
this.tableLayoutPanelSearch.AutoSize = true;
|
this.tableLayoutPanelSearch.AutoSize = true;
|
||||||
this.tableLayoutPanelSearch.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.tableLayoutPanelSearch.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||||
this.tableLayoutPanelSearch.BackColor = System.Drawing.Color.White;
|
this.tableLayoutPanelSearch.BackColor = System.Drawing.Color.White;
|
||||||
|
@ -127,7 +127,7 @@
|
||||||
this.tableLayoutPanelSearch.Name = "tableLayoutPanelSearch";
|
this.tableLayoutPanelSearch.Name = "tableLayoutPanelSearch";
|
||||||
this.tableLayoutPanelSearch.RowCount = 1;
|
this.tableLayoutPanelSearch.RowCount = 1;
|
||||||
this.tableLayoutPanelSearch.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
this.tableLayoutPanelSearch.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||||
this.tableLayoutPanelSearch.Size = new System.Drawing.Size(153, 22);
|
this.tableLayoutPanelSearch.Size = new System.Drawing.Size(128, 22);
|
||||||
this.tableLayoutPanelSearch.TabIndex = 5;
|
this.tableLayoutPanelSearch.TabIndex = 5;
|
||||||
this.tableLayoutPanelSearch.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.DgvMouseWheel);
|
this.tableLayoutPanelSearch.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.DgvMouseWheel);
|
||||||
//
|
//
|
||||||
|
|
|
@ -717,6 +717,8 @@ namespace SystemTrayMenu.UserInterface
|
||||||
dgv.Width = widthIcon + widthText;
|
dgv.Width = widthIcon + widthText;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tableLayoutPanelSearch.MinimumSize = new Size(dgv.Width + widthScrollbar, 0);
|
||||||
|
|
||||||
// Only scaling correct with Sans Serif for textBoxSearch. Workaround:
|
// Only scaling correct with Sans Serif for textBoxSearch. Workaround:
|
||||||
textBoxSearch.Font = new Font(
|
textBoxSearch.Font = new Font(
|
||||||
"Segoe UI",
|
"Segoe UI",
|
||||||
|
|
Loading…
Reference in a new issue