diff options
| author | Jacob Palecki <[email protected]> | 2020-09-08 12:35:23 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2020-09-08 12:35:23 -0700 |
| commit | a6448c4a2447a090558da5f52dea3dc418389e8a (patch) | |
| tree | 0b985ffcc1551cfdaddb63864904e8f80da335cf /grapher/Models/Options/Option.cs | |
| parent | Remove and sort usings en masse (diff) | |
| download | rawaccel-a6448c4a2447a090558da5f52dea3dc418389e8a.tar.xz rawaccel-a6448c4a2447a090558da5f52dea3dc418389e8a.zip | |
Fix few small bugs
Diffstat (limited to 'grapher/Models/Options/Option.cs')
| -rw-r--r-- | grapher/Models/Options/Option.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/grapher/Models/Options/Option.cs b/grapher/Models/Options/Option.cs index f44e6b1..5dc022b 100644 --- a/grapher/Models/Options/Option.cs +++ b/grapher/Models/Options/Option.cs @@ -19,10 +19,12 @@ namespace grapher Left = left; label.AutoSize = false; - label.Width = Field.Left - left - Constants.OptionLabelBoxSeperation; label.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + label.Width = Field.Left - left - Constants.OptionLabelBoxSeperation; + label.Height = Field.Height; ActiveValueLabel.Left = Field.Left + Field.Width; + ActiveValueLabel.Height = Field.Height; } public Option( @@ -162,9 +164,9 @@ namespace grapher Show(); } - public override void AlignActiveValues(int width) + public override void AlignActiveValues() { - ActiveValueLabel.Width = width; + ActiveValueLabel.Align(); } #endregion Methods |