diff options
| author | Jacob Palecki <[email protected]> | 2021-07-01 19:13:12 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2021-07-01 19:13:12 -0700 |
| commit | ac0a6eb86c8d783c21cb246d688a221913b15789 (patch) | |
| tree | 9b4021b1ab0401191a228dd6539612b2f72ae936 /grapher/Models/Options/TextOption.cs | |
| parent | Better-written LUT panels (diff) | |
| download | rawaccel-ac0a6eb86c8d783c21cb246d688a221913b15789.tar.xz rawaccel-ac0a6eb86c8d783c21cb246d688a221913b15789.zip | |
Mostly working
Diffstat (limited to 'grapher/Models/Options/TextOption.cs')
| -rw-r--r-- | grapher/Models/Options/TextOption.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/grapher/Models/Options/TextOption.cs b/grapher/Models/Options/TextOption.cs index 3c6f378..83a72df 100644 --- a/grapher/Models/Options/TextOption.cs +++ b/grapher/Models/Options/TextOption.cs @@ -14,9 +14,7 @@ namespace grapher.Models.Options public TextOption(Label label) { Label = label; - Label.AutoSize = false; - Label.Width = 150; - Label.Height = 100; + Label.AutoSize = true; } #endregion Constructors @@ -61,7 +59,7 @@ namespace grapher.Models.Options } set { - Label.Width = value; + Label.MaximumSize = new System.Drawing.Size(value, 0); } } |