explicitly set the max size of toolbar items to infinite

i guess the default max size is height:25. When we don't explicitly set this to 0 it doesn't scale correctly
This commit is contained in:
David Sparer
2018-09-02 17:15:16 -05:00
parent 45f9a32e59
commit bddab24d48

View File

@@ -149,6 +149,7 @@ namespace mRemoteNG.UI.Forms
this._quickConnectToolStrip.Dock = System.Windows.Forms.DockStyle.None;
this._quickConnectToolStrip.ForeColor = System.Drawing.SystemColors.ControlText;
this._quickConnectToolStrip.Location = new System.Drawing.Point(3, 0);
this._quickConnectToolStrip.MaximumSize = new System.Drawing.Size(0, 0);
this._quickConnectToolStrip.Name = "_quickConnectToolStrip";
this._quickConnectToolStrip.Size = new System.Drawing.Size(364, 25);
this._quickConnectToolStrip.TabIndex = 18;
@@ -169,6 +170,7 @@ namespace mRemoteNG.UI.Forms
this._externalToolsToolStrip.Dock = System.Windows.Forms.DockStyle.None;
this._externalToolsToolStrip.ForeColor = System.Drawing.SystemColors.ControlText;
this._externalToolsToolStrip.Location = new System.Drawing.Point(39, 74);
this._externalToolsToolStrip.MaximumSize = new System.Drawing.Size(0, 0);
this._externalToolsToolStrip.Name = "_externalToolsToolStrip";
this._externalToolsToolStrip.Size = new System.Drawing.Size(111, 25);
this._externalToolsToolStrip.TabIndex = 17;