From e02a84939110308416f6399c2d7f8a8beaab5fcd Mon Sep 17 00:00:00 2001 From: Pavel Kovalenko Date: Mon, 3 Nov 2014 00:17:44 +0300 Subject: [PATCH] Fix ColorPicker anchors. --- .../Controls/ColorPicker/ColorPicker.Designer.cs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/editors/xrSdkControls/Controls/ColorPicker/ColorPicker.Designer.cs b/src/editors/xrSdkControls/Controls/ColorPicker/ColorPicker.Designer.cs index 97d8e00af2d..544bdb88db2 100644 --- a/src/editors/xrSdkControls/Controls/ColorPicker/ColorPicker.Designer.cs +++ b/src/editors/xrSdkControls/Controls/ColorPicker/ColorPicker.Designer.cs @@ -126,7 +126,8 @@ private void InitializeComponent() // // nslRed // - this.nslRed.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); + this.nslRed.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.nslRed.BackColor = System.Drawing.SystemColors.Window; this.nslRed.DecimalPlaces = 0; this.nslRed.Hexadecimal = false; @@ -159,7 +160,8 @@ private void InitializeComponent() // // nslGreen // - this.nslGreen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); + this.nslGreen.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.nslGreen.BackColor = System.Drawing.SystemColors.Window; this.nslGreen.DecimalPlaces = 0; this.nslGreen.Hexadecimal = false; @@ -192,7 +194,8 @@ private void InitializeComponent() // // nslBlue // - this.nslBlue.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); + this.nslBlue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.nslBlue.BackColor = System.Drawing.SystemColors.Window; this.nslBlue.DecimalPlaces = 0; this.nslBlue.Hexadecimal = false; @@ -225,7 +228,8 @@ private void InitializeComponent() // // nslAlpha // - this.nslAlpha.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); + this.nslAlpha.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.nslAlpha.BackColor = System.Drawing.SystemColors.Window; this.nslAlpha.DecimalPlaces = 0; this.nslAlpha.Hexadecimal = false;