mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Tweaked various UI features to support resizing
Improved the minimum form sizes for multiple forms to stop them looking bad. Updated the DisplayMagician and DisplayMagicianShared assembly versions to v2.1.2.0 in preparation for release as the next version of DisplayMagician.
This commit is contained in:
parent
a54ca31503
commit
648bbccaca
@ -26,8 +26,8 @@ using System.Resources;
|
||||
[assembly: Guid("e4ceaf5e-ad01-4695-b179-31168eb74c48")]
|
||||
|
||||
// Version information
|
||||
[assembly: AssemblyVersion("2.1.1.64")]
|
||||
[assembly: AssemblyFileVersion("2.1.1.64")]
|
||||
[assembly: AssemblyVersion("2.1.2.0")]
|
||||
[assembly: AssemblyFileVersion("2.1.2.0")]
|
||||
[assembly: NeutralResourcesLanguageAttribute( "en" )]
|
||||
[assembly: CLSCompliant(true)]
|
||||
|
||||
|
@ -232,6 +232,8 @@ namespace DisplayMagician.UIForms
|
||||
// txt_profile_save_name
|
||||
//
|
||||
this.txt_profile_save_name.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.txt_profile_save_name.BackColor = System.Drawing.Color.White;
|
||||
this.txt_profile_save_name.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.txt_profile_save_name.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.txt_profile_save_name.Location = new System.Drawing.Point(271, 437);
|
||||
this.txt_profile_save_name.MaxLength = 200;
|
||||
@ -293,12 +295,13 @@ namespace DisplayMagician.UIForms
|
||||
this.lbl_save_profile.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
|
||||
this.lbl_save_profile.ForeColor = System.Drawing.Color.White;
|
||||
this.lbl_save_profile.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.lbl_save_profile.Location = new System.Drawing.Point(319, 9);
|
||||
this.lbl_save_profile.Location = new System.Drawing.Point(319, 95);
|
||||
this.lbl_save_profile.Name = "lbl_save_profile";
|
||||
this.lbl_save_profile.Size = new System.Drawing.Size(296, 102);
|
||||
this.lbl_save_profile.TabIndex = 33;
|
||||
this.lbl_save_profile.Text = "Setup your displays with NVIDIA Setup, AMD Setup or Windows Setup, then return to" +
|
||||
" DisplayMagician and click \'Save As\' to save this Display Profile.";
|
||||
this.lbl_save_profile.Text = "Setup your display layout in NVIDIA Control Panel, AMD Radeon Adrenalin or Window" +
|
||||
"s Setup, then return to DisplayMagician and click \'Save As\' to store this Displa" +
|
||||
"y Profile for later.";
|
||||
this.lbl_save_profile.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// btn_save
|
||||
|
22
DisplayMagician/UIForms/MainForm.Designer.cs
generated
22
DisplayMagician/UIForms/MainForm.Designer.cs
generated
@ -31,6 +31,7 @@
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.btn_help = new System.Windows.Forms.Button();
|
||||
this.btn_donate = new System.Windows.Forms.Button();
|
||||
this.btn_settings = new System.Windows.Forms.Button();
|
||||
this.lbl_create_profile = new System.Windows.Forms.Label();
|
||||
@ -55,7 +56,6 @@
|
||||
this.shortcutToolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.btn_help = new System.Windows.Forms.Button();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
@ -90,6 +90,16 @@
|
||||
this.splitContainer1.Panel2.Controls.Add(this.pb_game_shortcut);
|
||||
this.splitContainer1.TabStop = false;
|
||||
//
|
||||
// btn_help
|
||||
//
|
||||
resources.ApplyResources(this.btn_help, "btn_help");
|
||||
this.btn_help.FlatAppearance.MouseDownBackColor = System.Drawing.Color.IndianRed;
|
||||
this.btn_help.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Brown;
|
||||
this.btn_help.ForeColor = System.Drawing.Color.White;
|
||||
this.btn_help.Name = "btn_help";
|
||||
this.btn_help.UseVisualStyleBackColor = true;
|
||||
this.btn_help.Click += new System.EventHandler(this.btn_help_Click);
|
||||
//
|
||||
// btn_donate
|
||||
//
|
||||
resources.ApplyResources(this.btn_donate, "btn_donate");
|
||||
@ -270,16 +280,6 @@
|
||||
resources.ApplyResources(this.exitToolStripMenuItem, "exitToolStripMenuItem");
|
||||
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
|
||||
//
|
||||
// btn_help
|
||||
//
|
||||
resources.ApplyResources(this.btn_help, "btn_help");
|
||||
this.btn_help.FlatAppearance.MouseDownBackColor = System.Drawing.Color.IndianRed;
|
||||
this.btn_help.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Brown;
|
||||
this.btn_help.ForeColor = System.Drawing.Color.White;
|
||||
this.btn_help.Name = "btn_help";
|
||||
this.btn_help.UseVisualStyleBackColor = true;
|
||||
this.btn_help.Click += new System.EventHandler(this.btn_help_Click);
|
||||
//
|
||||
// MainForm
|
||||
//
|
||||
resources.ApplyResources(this, "$this");
|
||||
|
@ -10870,7 +10870,7 @@
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="lbl_create_shortcut.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>282, 248</value>
|
||||
<value>282, 250</value>
|
||||
</data>
|
||||
<data name="lbl_create_shortcut.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>222, 22</value>
|
||||
@ -10912,7 +10912,7 @@
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="cb_minimise_notification_area.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>162, 354</value>
|
||||
<value>162, 357</value>
|
||||
</data>
|
||||
<data name="cb_minimise_notification_area.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>460, 20</value>
|
||||
@ -10945,7 +10945,7 @@
|
||||
<value>Microsoft Sans Serif, 9.75pt</value>
|
||||
</data>
|
||||
<data name="lbl_version.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>12, 355</value>
|
||||
<value>12, 358</value>
|
||||
</data>
|
||||
<data name="lbl_version.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>25, 16</value>
|
||||
@ -10981,7 +10981,7 @@
|
||||
<value>Microsoft Sans Serif, 21.75pt</value>
|
||||
</data>
|
||||
<data name="btn_setup_game_shortcuts.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>212, 175</value>
|
||||
<value>212, 177</value>
|
||||
</data>
|
||||
<data name="btn_setup_game_shortcuts.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>360, 50</value>
|
||||
@ -11014,7 +11014,7 @@
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="btn_exit.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>700, 351</value>
|
||||
<value>700, 354</value>
|
||||
</data>
|
||||
<data name="btn_exit.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>75, 23</value>
|
||||
@ -63370,81 +63370,6 @@
|
||||
<metadata name="mainContextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>152, 17</value>
|
||||
</metadata>
|
||||
<data name="toolStripMenuItemHeading.Enabled" type="System.Boolean, mscorlib">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="toolStripMenuItemHeading.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt, style=Italic</value>
|
||||
</data>
|
||||
<data name="toolStripMenuItemHeading.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>218, 22</value>
|
||||
</data>
|
||||
<data name="toolStripMenuItemHeading.Text" xml:space="preserve">
|
||||
<value>DisplayMagician</value>
|
||||
</data>
|
||||
<data name="toolStripSeparator.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>215, 6</value>
|
||||
</data>
|
||||
<data name="openApplicationWindowToolStripMenuItem.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt, style=Bold</value>
|
||||
</data>
|
||||
<data name="openApplicationWindowToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>218, 22</value>
|
||||
</data>
|
||||
<data name="openApplicationWindowToolStripMenuItem.Text" xml:space="preserve">
|
||||
<value>Open Application Window</value>
|
||||
</data>
|
||||
<data name="profilesToolStripMenuItemHeading.Enabled" type="System.Boolean, mscorlib">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="profilesToolStripMenuItemHeading.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt, style=Italic</value>
|
||||
</data>
|
||||
<data name="profilesToolStripMenuItemHeading.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>155, 22</value>
|
||||
</data>
|
||||
<data name="profilesToolStripMenuItemHeading.Text" xml:space="preserve">
|
||||
<value>Display Profiles</value>
|
||||
</data>
|
||||
<data name="profileToolStripSeparator.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>152, 6</value>
|
||||
</data>
|
||||
<data name="profileToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>218, 22</value>
|
||||
</data>
|
||||
<data name="profileToolStripMenuItem.Text" xml:space="preserve">
|
||||
<value>Change Display Profile</value>
|
||||
</data>
|
||||
<data name="shortcutsToolStripMenuItemHeading.Enabled" type="System.Boolean, mscorlib">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="shortcutsToolStripMenuItemHeading.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt, style=Italic</value>
|
||||
</data>
|
||||
<data name="shortcutsToolStripMenuItemHeading.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>156, 22</value>
|
||||
</data>
|
||||
<data name="shortcutsToolStripMenuItemHeading.Text" xml:space="preserve">
|
||||
<value>Game Shortcuts</value>
|
||||
</data>
|
||||
<data name="shortcutToolStripSeparator.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>153, 6</value>
|
||||
</data>
|
||||
<data name="shortcutToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>218, 22</value>
|
||||
</data>
|
||||
<data name="shortcutToolStripMenuItem.Text" xml:space="preserve">
|
||||
<value>Run Game Shortcut</value>
|
||||
</data>
|
||||
<data name="toolStripSeparator1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>215, 6</value>
|
||||
</data>
|
||||
<data name="exitToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>218, 22</value>
|
||||
</data>
|
||||
<data name="exitToolStripMenuItem.Text" xml:space="preserve">
|
||||
<value>Exit DisplayMagician</value>
|
||||
</data>
|
||||
<data name="mainContextMenuStrip.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>219, 126</value>
|
||||
</data>
|
||||
@ -71274,6 +71199,81 @@
|
||||
<data name="notifyIcon.Visible" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="toolStripMenuItemHeading.Enabled" type="System.Boolean, mscorlib">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="toolStripMenuItemHeading.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt, style=Italic</value>
|
||||
</data>
|
||||
<data name="toolStripMenuItemHeading.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>218, 22</value>
|
||||
</data>
|
||||
<data name="toolStripMenuItemHeading.Text" xml:space="preserve">
|
||||
<value>DisplayMagician</value>
|
||||
</data>
|
||||
<data name="toolStripSeparator.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>215, 6</value>
|
||||
</data>
|
||||
<data name="openApplicationWindowToolStripMenuItem.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt, style=Bold</value>
|
||||
</data>
|
||||
<data name="openApplicationWindowToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>218, 22</value>
|
||||
</data>
|
||||
<data name="openApplicationWindowToolStripMenuItem.Text" xml:space="preserve">
|
||||
<value>Open Application Window</value>
|
||||
</data>
|
||||
<data name="profileToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>218, 22</value>
|
||||
</data>
|
||||
<data name="profileToolStripMenuItem.Text" xml:space="preserve">
|
||||
<value>Change Display Profile</value>
|
||||
</data>
|
||||
<data name="profilesToolStripMenuItemHeading.Enabled" type="System.Boolean, mscorlib">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="profilesToolStripMenuItemHeading.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt, style=Italic</value>
|
||||
</data>
|
||||
<data name="profilesToolStripMenuItemHeading.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>155, 22</value>
|
||||
</data>
|
||||
<data name="profilesToolStripMenuItemHeading.Text" xml:space="preserve">
|
||||
<value>Display Profiles</value>
|
||||
</data>
|
||||
<data name="profileToolStripSeparator.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>152, 6</value>
|
||||
</data>
|
||||
<data name="shortcutToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>218, 22</value>
|
||||
</data>
|
||||
<data name="shortcutToolStripMenuItem.Text" xml:space="preserve">
|
||||
<value>Run Game Shortcut</value>
|
||||
</data>
|
||||
<data name="shortcutsToolStripMenuItemHeading.Enabled" type="System.Boolean, mscorlib">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="shortcutsToolStripMenuItemHeading.Font" type="System.Drawing.Font, System.Drawing">
|
||||
<value>Segoe UI, 9pt, style=Italic</value>
|
||||
</data>
|
||||
<data name="shortcutsToolStripMenuItemHeading.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>156, 22</value>
|
||||
</data>
|
||||
<data name="shortcutsToolStripMenuItemHeading.Text" xml:space="preserve">
|
||||
<value>Game Shortcuts</value>
|
||||
</data>
|
||||
<data name="shortcutToolStripSeparator.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>153, 6</value>
|
||||
</data>
|
||||
<data name="toolStripSeparator1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>215, 6</value>
|
||||
</data>
|
||||
<data name="exitToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>218, 22</value>
|
||||
</data>
|
||||
<data name="exitToolStripMenuItem.Text" xml:space="preserve">
|
||||
<value>Exit DisplayMagician</value>
|
||||
</data>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
@ -79103,14 +79103,11 @@
|
||||
rjGJe6619efaHz2S/5D4v/OFla+gZqVXAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="$this.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
<data name="$this.MaximumSize" type="System.Drawing.Size, System.Drawing">
|
||||
<value>1100, 950</value>
|
||||
</data>
|
||||
<data name="$this.MinimumSize" type="System.Drawing.Size, System.Drawing">
|
||||
<value>550, 400</value>
|
||||
<value>700, 400</value>
|
||||
</data>
|
||||
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
|
||||
<value>CenterScreen</value>
|
||||
|
@ -35,5 +35,5 @@ using System.Runtime.InteropServices;
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
|
||||
[assembly: AssemblyVersion("2.1.1.0")]
|
||||
[assembly: AssemblyFileVersion("2.1.1.0")]
|
||||
[assembly: AssemblyVersion("2.1.2.0")]
|
||||
[assembly: AssemblyFileVersion("2.1.2.0")]
|
Loading…
Reference in New Issue
Block a user