From 8becef3e45be2c3a7fa1e34eb566616b69bd9afc Mon Sep 17 00:00:00 2001 From: chylex <contact@chylex.com> Date: Thu, 22 Jun 2017 08:31:24 +0200 Subject: [PATCH] Reorganize Notifications tab in Options --- .../TabSettingsNotifications.Designer.cs | 141 +++++++++--------- 1 file changed, 73 insertions(+), 68 deletions(-) diff --git a/Core/Other/Settings/TabSettingsNotifications.Designer.cs b/Core/Other/Settings/TabSettingsNotifications.Designer.cs index f0de82db..7fd311fa 100644 --- a/Core/Other/Settings/TabSettingsNotifications.Designer.cs +++ b/Core/Other/Settings/TabSettingsNotifications.Designer.cs @@ -55,8 +55,9 @@ private void InitializeComponent() { this.labelScrollSpeed = new System.Windows.Forms.Label(); this.labelLocation = new System.Windows.Forms.Label(); this.panelLocation = new System.Windows.Forms.Panel(); - this.panelDuration = new System.Windows.Forms.Panel(); + this.panelTimer = new System.Windows.Forms.Panel(); this.labelDuration = new System.Windows.Forms.Label(); + this.labelTimer = new System.Windows.Forms.Label(); this.labelMiscellaneous = new System.Windows.Forms.Label(); this.panelMiscellaneous = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.trackBarEdgeDistance)).BeginInit(); @@ -65,14 +66,13 @@ private void InitializeComponent() { this.panelGeneral.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackBarScrollSpeed)).BeginInit(); this.panelLocation.SuspendLayout(); - this.panelDuration.SuspendLayout(); + this.panelTimer.SuspendLayout(); this.panelMiscellaneous.SuspendLayout(); this.SuspendLayout(); // // labelEdgeDistanceValue // - this.labelEdgeDistanceValue.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.labelEdgeDistanceValue.Location = new System.Drawing.Point(147, 133); + this.labelEdgeDistanceValue.Location = new System.Drawing.Point(147, 129); this.labelEdgeDistanceValue.Margin = new System.Windows.Forms.Padding(0, 0, 3, 0); this.labelEdgeDistanceValue.Name = "labelEdgeDistanceValue"; this.labelEdgeDistanceValue.Size = new System.Drawing.Size(34, 13); @@ -170,8 +170,6 @@ private void InitializeComponent() { // // trackBarEdgeDistance // - this.trackBarEdgeDistance.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); this.trackBarEdgeDistance.AutoSize = false; this.trackBarEdgeDistance.LargeChange = 8; this.trackBarEdgeDistance.Location = new System.Drawing.Point(5, 128); @@ -193,12 +191,12 @@ private void InitializeComponent() { this.tableLayoutDurationButtons.Controls.Add(this.btnDurationMedium, 0, 0); this.tableLayoutDurationButtons.Controls.Add(this.btnDurationLong, 1, 0); this.tableLayoutDurationButtons.Controls.Add(this.btnDurationShort, 0, 0); - this.tableLayoutDurationButtons.Location = new System.Drawing.Point(3, 43); + this.tableLayoutDurationButtons.Location = new System.Drawing.Point(3, 113); this.tableLayoutDurationButtons.Name = "tableLayoutDurationButtons"; this.tableLayoutDurationButtons.RowCount = 1; this.tableLayoutDurationButtons.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutDurationButtons.Size = new System.Drawing.Size(171, 27); - this.tableLayoutDurationButtons.TabIndex = 2; + this.tableLayoutDurationButtons.TabIndex = 5; // // btnDurationMedium // @@ -247,39 +245,36 @@ private void InitializeComponent() { // // labelDurationValue // - this.labelDurationValue.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labelDurationValue.BackColor = System.Drawing.Color.Transparent; - this.labelDurationValue.Location = new System.Drawing.Point(147, 7); + this.labelDurationValue.Location = new System.Drawing.Point(147, 77); this.labelDurationValue.Margin = new System.Windows.Forms.Padding(0, 0, 3, 0); this.labelDurationValue.Name = "labelDurationValue"; this.labelDurationValue.Size = new System.Drawing.Size(48, 13); - this.labelDurationValue.TabIndex = 1; + this.labelDurationValue.TabIndex = 4; this.labelDurationValue.Text = "0 ms/c"; this.labelDurationValue.TextAlign = System.Drawing.ContentAlignment.TopRight; this.toolTip.SetToolTip(this.labelDurationValue, "Milliseconds per character."); // // trackBarDuration // - this.trackBarDuration.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); this.trackBarDuration.AutoSize = false; - this.trackBarDuration.Location = new System.Drawing.Point(3, 6); + this.trackBarDuration.Location = new System.Drawing.Point(3, 76); this.trackBarDuration.Maximum = 60; this.trackBarDuration.Minimum = 10; this.trackBarDuration.Name = "trackBarDuration"; this.trackBarDuration.Size = new System.Drawing.Size(148, 30); - this.trackBarDuration.TabIndex = 0; + this.trackBarDuration.TabIndex = 3; this.trackBarDuration.TickFrequency = 5; this.trackBarDuration.Value = 25; // // checkSkipOnLinkClick // this.checkSkipOnLinkClick.AutoSize = true; - this.checkSkipOnLinkClick.Location = new System.Drawing.Point(6, 5); - this.checkSkipOnLinkClick.Margin = new System.Windows.Forms.Padding(6, 5, 3, 3); + this.checkSkipOnLinkClick.Location = new System.Drawing.Point(6, 28); + this.checkSkipOnLinkClick.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3); this.checkSkipOnLinkClick.Name = "checkSkipOnLinkClick"; this.checkSkipOnLinkClick.Size = new System.Drawing.Size(113, 17); - this.checkSkipOnLinkClick.TabIndex = 0; + this.checkSkipOnLinkClick.TabIndex = 1; this.checkSkipOnLinkClick.Text = "Skip On Link Click"; this.toolTip.SetToolTip(this.checkSkipOnLinkClick, "Skips current notification when a link\r\ninside the notification is clicked."); this.checkSkipOnLinkClick.UseVisualStyleBackColor = true; @@ -300,32 +295,32 @@ private void InitializeComponent() { // labelIdlePause // this.labelIdlePause.AutoSize = true; - this.labelIdlePause.Location = new System.Drawing.Point(3, 83); + this.labelIdlePause.Location = new System.Drawing.Point(3, 60); this.labelIdlePause.Margin = new System.Windows.Forms.Padding(3, 12, 3, 0); this.labelIdlePause.Name = "labelIdlePause"; this.labelIdlePause.Size = new System.Drawing.Size(89, 13); - this.labelIdlePause.TabIndex = 3; + this.labelIdlePause.TabIndex = 2; this.labelIdlePause.Text = "Pause When Idle"; // // comboBoxIdlePause // this.comboBoxIdlePause.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxIdlePause.FormattingEnabled = true; - this.comboBoxIdlePause.Location = new System.Drawing.Point(5, 99); + this.comboBoxIdlePause.Location = new System.Drawing.Point(5, 76); this.comboBoxIdlePause.Margin = new System.Windows.Forms.Padding(5, 3, 3, 3); this.comboBoxIdlePause.Name = "comboBoxIdlePause"; this.comboBoxIdlePause.Size = new System.Drawing.Size(144, 21); - this.comboBoxIdlePause.TabIndex = 4; + this.comboBoxIdlePause.TabIndex = 3; this.toolTip.SetToolTip(this.comboBoxIdlePause, "Pauses new notifications after going idle for a set amount of time."); // // checkNonIntrusive // this.checkNonIntrusive.AutoSize = true; - this.checkNonIntrusive.Location = new System.Drawing.Point(6, 28); - this.checkNonIntrusive.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3); + this.checkNonIntrusive.Location = new System.Drawing.Point(6, 5); + this.checkNonIntrusive.Margin = new System.Windows.Forms.Padding(6, 5, 3, 3); this.checkNonIntrusive.Name = "checkNonIntrusive"; this.checkNonIntrusive.Size = new System.Drawing.Size(128, 17); - this.checkNonIntrusive.TabIndex = 1; + this.checkNonIntrusive.TabIndex = 0; this.checkNonIntrusive.Text = "Non-Intrusive Popups"; this.toolTip.SetToolTip(this.checkNonIntrusive, "When not idle and the cursor is within the notification window area,\r\nit will be " + "delayed until the cursor moves away to prevent accidental clicks."); @@ -334,11 +329,11 @@ private void InitializeComponent() { // checkTimerCountDown // this.checkTimerCountDown.AutoSize = true; - this.checkTimerCountDown.Location = new System.Drawing.Point(6, 51); + this.checkTimerCountDown.Location = new System.Drawing.Point(6, 28); this.checkTimerCountDown.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3); this.checkTimerCountDown.Name = "checkTimerCountDown"; this.checkTimerCountDown.Size = new System.Drawing.Size(119, 17); - this.checkTimerCountDown.TabIndex = 2; + this.checkTimerCountDown.TabIndex = 1; this.checkTimerCountDown.Text = "Timer Counts Down"; this.toolTip.SetToolTip(this.checkTimerCountDown, "The notification timer counts down instead of up."); this.checkTimerCountDown.UseVisualStyleBackColor = true; @@ -346,11 +341,11 @@ private void InitializeComponent() { // checkNotificationTimer // this.checkNotificationTimer.AutoSize = true; - this.checkNotificationTimer.Location = new System.Drawing.Point(6, 28); - this.checkNotificationTimer.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3); + this.checkNotificationTimer.Location = new System.Drawing.Point(6, 5); + this.checkNotificationTimer.Margin = new System.Windows.Forms.Padding(6, 5, 3, 3); this.checkNotificationTimer.Name = "checkNotificationTimer"; this.checkNotificationTimer.Size = new System.Drawing.Size(145, 17); - this.checkNotificationTimer.TabIndex = 1; + this.checkNotificationTimer.TabIndex = 0; this.checkNotificationTimer.Text = "Display Notification Timer"; this.checkNotificationTimer.UseVisualStyleBackColor = true; // @@ -370,57 +365,53 @@ private void InitializeComponent() { this.panelGeneral.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panelGeneral.Controls.Add(this.checkColumnName); - this.panelGeneral.Controls.Add(this.checkNotificationTimer); + this.panelGeneral.Controls.Add(this.checkSkipOnLinkClick); this.panelGeneral.Controls.Add(this.labelIdlePause); - this.panelGeneral.Controls.Add(this.checkTimerCountDown); this.panelGeneral.Controls.Add(this.comboBoxIdlePause); this.panelGeneral.Location = new System.Drawing.Point(9, 31); this.panelGeneral.Name = "panelGeneral"; - this.panelGeneral.Size = new System.Drawing.Size(322, 126); + this.panelGeneral.Size = new System.Drawing.Size(322, 103); this.panelGeneral.TabIndex = 1; // // labelScrollSpeedValue // - this.labelScrollSpeedValue.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.labelScrollSpeedValue.Location = new System.Drawing.Point(147, 81); + this.labelScrollSpeedValue.Location = new System.Drawing.Point(147, 54); this.labelScrollSpeedValue.Margin = new System.Windows.Forms.Padding(0, 0, 3, 0); this.labelScrollSpeedValue.Name = "labelScrollSpeedValue"; this.labelScrollSpeedValue.Size = new System.Drawing.Size(34, 13); - this.labelScrollSpeedValue.TabIndex = 4; + this.labelScrollSpeedValue.TabIndex = 3; this.labelScrollSpeedValue.Text = "100%"; this.labelScrollSpeedValue.TextAlign = System.Drawing.ContentAlignment.TopRight; // // trackBarScrollSpeed // - this.trackBarScrollSpeed.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); this.trackBarScrollSpeed.AutoSize = false; this.trackBarScrollSpeed.LargeChange = 25; - this.trackBarScrollSpeed.Location = new System.Drawing.Point(5, 76); + this.trackBarScrollSpeed.Location = new System.Drawing.Point(5, 53); this.trackBarScrollSpeed.Maximum = 200; this.trackBarScrollSpeed.Minimum = 25; this.trackBarScrollSpeed.Name = "trackBarScrollSpeed"; this.trackBarScrollSpeed.Size = new System.Drawing.Size(148, 30); this.trackBarScrollSpeed.SmallChange = 25; - this.trackBarScrollSpeed.TabIndex = 3; + this.trackBarScrollSpeed.TabIndex = 2; this.trackBarScrollSpeed.TickFrequency = 25; this.trackBarScrollSpeed.Value = 100; // // labelScrollSpeed // this.labelScrollSpeed.AutoSize = true; - this.labelScrollSpeed.Location = new System.Drawing.Point(3, 60); + this.labelScrollSpeed.Location = new System.Drawing.Point(3, 37); this.labelScrollSpeed.Margin = new System.Windows.Forms.Padding(3, 12, 3, 0); this.labelScrollSpeed.Name = "labelScrollSpeed"; this.labelScrollSpeed.Size = new System.Drawing.Size(67, 13); - this.labelScrollSpeed.TabIndex = 2; + this.labelScrollSpeed.TabIndex = 1; this.labelScrollSpeed.Text = "Scroll Speed"; // // labelLocation // this.labelLocation.AutoSize = true; this.labelLocation.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); - this.labelLocation.Location = new System.Drawing.Point(6, 181); + this.labelLocation.Location = new System.Drawing.Point(6, 158); this.labelLocation.Margin = new System.Windows.Forms.Padding(0, 21, 0, 0); this.labelLocation.Name = "labelLocation"; this.labelLocation.Size = new System.Drawing.Size(70, 20); @@ -441,39 +432,52 @@ private void InitializeComponent() { this.panelLocation.Controls.Add(this.radioLocBL); this.panelLocation.Controls.Add(this.radioLocCustom); this.panelLocation.Controls.Add(this.radioLocBR); - this.panelLocation.Location = new System.Drawing.Point(9, 204); + this.panelLocation.Location = new System.Drawing.Point(9, 181); this.panelLocation.Name = "panelLocation"; this.panelLocation.Size = new System.Drawing.Size(322, 165); this.panelLocation.TabIndex = 3; // - // panelDuration + // panelTimer // - this.panelDuration.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.panelTimer.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.panelDuration.Controls.Add(this.tableLayoutDurationButtons); - this.panelDuration.Controls.Add(this.labelDurationValue); - this.panelDuration.Controls.Add(this.trackBarDuration); - this.panelDuration.Location = new System.Drawing.Point(9, 416); - this.panelDuration.Name = "panelDuration"; - this.panelDuration.Size = new System.Drawing.Size(322, 73); - this.panelDuration.TabIndex = 5; + this.panelTimer.Controls.Add(this.labelDuration); + this.panelTimer.Controls.Add(this.checkNotificationTimer); + this.panelTimer.Controls.Add(this.tableLayoutDurationButtons); + this.panelTimer.Controls.Add(this.checkTimerCountDown); + this.panelTimer.Controls.Add(this.labelDurationValue); + this.panelTimer.Controls.Add(this.trackBarDuration); + this.panelTimer.Location = new System.Drawing.Point(9, 393); + this.panelTimer.Name = "panelTimer"; + this.panelTimer.Size = new System.Drawing.Size(322, 144); + this.panelTimer.TabIndex = 5; // // labelDuration // this.labelDuration.AutoSize = true; - this.labelDuration.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); - this.labelDuration.Location = new System.Drawing.Point(6, 393); - this.labelDuration.Margin = new System.Windows.Forms.Padding(0, 21, 0, 0); + this.labelDuration.Location = new System.Drawing.Point(3, 60); + this.labelDuration.Margin = new System.Windows.Forms.Padding(3, 12, 3, 0); this.labelDuration.Name = "labelDuration"; - this.labelDuration.Size = new System.Drawing.Size(70, 20); - this.labelDuration.TabIndex = 4; + this.labelDuration.Size = new System.Drawing.Size(47, 13); + this.labelDuration.TabIndex = 2; this.labelDuration.Text = "Duration"; // + // labelTimer + // + this.labelTimer.AutoSize = true; + this.labelTimer.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.labelTimer.Location = new System.Drawing.Point(6, 370); + this.labelTimer.Margin = new System.Windows.Forms.Padding(0, 21, 0, 0); + this.labelTimer.Name = "labelTimer"; + this.labelTimer.Size = new System.Drawing.Size(48, 20); + this.labelTimer.TabIndex = 4; + this.labelTimer.Text = "Timer"; + // // labelMiscellaneous // this.labelMiscellaneous.AutoSize = true; this.labelMiscellaneous.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); - this.labelMiscellaneous.Location = new System.Drawing.Point(6, 513); + this.labelMiscellaneous.Location = new System.Drawing.Point(6, 561); this.labelMiscellaneous.Margin = new System.Windows.Forms.Padding(0, 21, 0, 0); this.labelMiscellaneous.Name = "labelMiscellaneous"; this.labelMiscellaneous.Size = new System.Drawing.Size(109, 20); @@ -485,13 +489,12 @@ private void InitializeComponent() { this.panelMiscellaneous.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panelMiscellaneous.Controls.Add(this.labelScrollSpeedValue); - this.panelMiscellaneous.Controls.Add(this.checkSkipOnLinkClick); this.panelMiscellaneous.Controls.Add(this.trackBarScrollSpeed); this.panelMiscellaneous.Controls.Add(this.checkNonIntrusive); this.panelMiscellaneous.Controls.Add(this.labelScrollSpeed); - this.panelMiscellaneous.Location = new System.Drawing.Point(9, 536); + this.panelMiscellaneous.Location = new System.Drawing.Point(9, 584); this.panelMiscellaneous.Name = "panelMiscellaneous"; - this.panelMiscellaneous.Size = new System.Drawing.Size(322, 112); + this.panelMiscellaneous.Size = new System.Drawing.Size(322, 90); this.panelMiscellaneous.TabIndex = 7; // // TabSettingsNotifications @@ -500,14 +503,14 @@ private void InitializeComponent() { this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.panelMiscellaneous); this.Controls.Add(this.labelMiscellaneous); - this.Controls.Add(this.labelDuration); + this.Controls.Add(this.labelTimer); this.Controls.Add(this.panelLocation); this.Controls.Add(this.labelLocation); this.Controls.Add(this.panelGeneral); this.Controls.Add(this.labelGeneral); - this.Controls.Add(this.panelDuration); + this.Controls.Add(this.panelTimer); this.Name = "TabSettingsNotifications"; - this.Size = new System.Drawing.Size(340, 658); + this.Size = new System.Drawing.Size(340, 684); this.ParentChanged += new System.EventHandler(this.TabSettingsNotifications_ParentChanged); ((System.ComponentModel.ISupportInitialize)(this.trackBarEdgeDistance)).EndInit(); this.tableLayoutDurationButtons.ResumeLayout(false); @@ -517,7 +520,8 @@ private void InitializeComponent() { ((System.ComponentModel.ISupportInitialize)(this.trackBarScrollSpeed)).EndInit(); this.panelLocation.ResumeLayout(false); this.panelLocation.PerformLayout(); - this.panelDuration.ResumeLayout(false); + this.panelTimer.ResumeLayout(false); + this.panelTimer.PerformLayout(); this.panelMiscellaneous.ResumeLayout(false); this.panelMiscellaneous.PerformLayout(); this.ResumeLayout(false); @@ -554,12 +558,13 @@ private void InitializeComponent() { private System.Windows.Forms.Panel panelGeneral; private System.Windows.Forms.Label labelLocation; private System.Windows.Forms.Panel panelLocation; - private System.Windows.Forms.Panel panelDuration; - private System.Windows.Forms.Label labelDuration; + private System.Windows.Forms.Panel panelTimer; + private System.Windows.Forms.Label labelTimer; private System.Windows.Forms.Label labelScrollSpeedValue; private System.Windows.Forms.TrackBar trackBarScrollSpeed; private System.Windows.Forms.Label labelScrollSpeed; private System.Windows.Forms.Label labelMiscellaneous; private System.Windows.Forms.Panel panelMiscellaneous; + private System.Windows.Forms.Label labelDuration; } }