diff options
| author | Jacob Palecki <[email protected]> | 2021-07-01 22:32:55 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2021-07-01 22:32:55 -0700 |
| commit | 308eed9ce9ed48984323e6512546a2ffeb195b14 (patch) | |
| tree | fa35c8ef8240b4598b63e27369dacbcb2b45ffd9 /grapher/Models/Options/LUT | |
| parent | Begin updating guide (diff) | |
| download | rawaccel-308eed9ce9ed48984323e6512546a2ffeb195b14.tar.xz rawaccel-308eed9ce9ed48984323e6512546a2ffeb195b14.zip | |
LUT Panel formatting
Diffstat (limited to 'grapher/Models/Options/LUT')
| -rw-r--r-- | grapher/Models/Options/LUT/LutApplyOptions.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/grapher/Models/Options/LUT/LutApplyOptions.cs b/grapher/Models/Options/LUT/LutApplyOptions.cs index f71c1e2..897460e 100644 --- a/grapher/Models/Options/LUT/LutApplyOptions.cs +++ b/grapher/Models/Options/LUT/LutApplyOptions.cs @@ -10,6 +10,7 @@ namespace grapher.Models.Options.LUT public class LutApplyOptions : OptionBase { public const string LUTApplyOptionsLabelText = "Apply as:"; + public const int LUTApplyLabelDropdownSeparation = 4; public enum LutApplyType { @@ -52,7 +53,8 @@ namespace grapher.Models.Options.LUT Label = label; Label.Text = LUTApplyOptionsLabelText; - Label.Width = 45; + Label.AutoSize = false; + Label.Width = 50; ActiveValueLabel = lutApplyActiveValue; } @@ -93,7 +95,7 @@ namespace grapher.Models.Options.LUT set { Label.Left = value; - ApplyOptions.Left = Label.Left + Label.Width + Constants.OptionLabelBoxSeperation; + ApplyOptions.Left = Label.Left + Label.Width + LUTApplyLabelDropdownSeparation; } } @@ -113,8 +115,8 @@ namespace grapher.Models.Options.LUT } set { - Label.Top = value; ApplyOptions.Top = value; + Label.Top = (ApplyOptions.Height - Label.Height) / 2 + ApplyOptions.Top; ActiveValueLabel.Top = value; } } |