mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-12 00:29:06 -04:00
GUI: Use FixedDialog instead for FixedToolWindow for improved appearance of popup dialogs, especially on Linux
Note that this means that popup dialogs now appear in taskbar on Linux, whereas they weren't before. However popup dialogs were already appearing before in taskbar on Windows, so at least the behaviour is consistent now
This commit is contained in:
parent
1280f09f7a
commit
dad908c68c
6
GUI/Popups/ColorSelector.Designer.cs
generated
6
GUI/Popups/ColorSelector.Designer.cs
generated
@ -28,10 +28,10 @@
|
||||
this.ClientSize = new System.Drawing.Size(200, 200);
|
||||
this.Controls.Add(this.btnCancel);
|
||||
this.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "ColorPicker";
|
||||
this.ShowIcon = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
|
4
GUI/Popups/CustomCommands.Designer.cs
generated
4
GUI/Popups/CustomCommands.Designer.cs
generated
@ -149,7 +149,9 @@
|
||||
this.Controls.Add(this.btnLoad);
|
||||
this.Controls.Add(this.btnUnload);
|
||||
this.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Name = "CustomCommands";
|
||||
this.Text = "Custom commands";
|
||||
|
4
GUI/Popups/EditText.Designer.cs
generated
4
GUI/Popups/EditText.Designer.cs
generated
@ -96,7 +96,9 @@ namespace MCGalaxy.Gui.Popups
|
||||
this.Controls.Add(this.txtEdit);
|
||||
this.Controls.Add(this.cmbList);
|
||||
this.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "EditText";
|
||||
this.ShowIcon = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
|
4
GUI/Popups/PortTools.Designer.cs
generated
4
GUI/Popups/PortTools.Designer.cs
generated
@ -120,7 +120,9 @@ namespace MCGalaxy.Gui.Popups {
|
||||
this.Controls.Add(this.gbUpnp);
|
||||
this.Controls.Add(this.linkManually);
|
||||
this.Controls.Add(this.linkHelpForward);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "PortTools";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "Port forward tools";
|
||||
|
6
GUI/Popups/TokenSelector.Designer.cs
generated
6
GUI/Popups/TokenSelector.Designer.cs
generated
@ -30,10 +30,10 @@
|
||||
this.ClientSize = new System.Drawing.Size(200, 200);
|
||||
this.Controls.Add(this.btnCancel);
|
||||
this.Font = new System.Drawing.Font("Calibri", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "TokenSelector";
|
||||
this.ShowIcon = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
|
Loading…
x
Reference in New Issue
Block a user