diff options
| author | Sidiouth <[email protected]> | 2020-08-31 16:15:58 -0400 |
|---|---|---|
| committer | Sidiouth <[email protected]> | 2020-08-31 16:15:58 -0400 |
| commit | 6432e9b8b0b25f6a3b04b7f87eaff7d84d04c960 (patch) | |
| tree | dadde7a477a58d7bda7dda4db5a75bc2190456b2 /grapher/Models/Options/Option.cs | |
| parent | Merge pull request #16 from JacobPalecki/Misc (diff) | |
| download | rawaccel-6432e9b8b0b25f6a3b04b7f87eaff7d84d04c960.tar.xz rawaccel-6432e9b8b0b25f6a3b04b7f87eaff7d84d04c960.zip | |
Initial commit
-Right-alight option labels in the gui
-Allow users to modify the string already in the options field
Diffstat (limited to 'grapher/Models/Options/Option.cs')
| -rw-r--r-- | grapher/Models/Options/Option.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/grapher/Models/Options/Option.cs b/grapher/Models/Options/Option.cs index bacd760..b0ef374 100644 --- a/grapher/Models/Options/Option.cs +++ b/grapher/Models/Options/Option.cs @@ -59,7 +59,8 @@ namespace grapher public void SetName(string name) { Label.Text = name; - Label.Left = Convert.ToInt32((Field.Box.Left / 2.0) - (Label.Width / 2.0)); + //Label.Left = Convert.ToInt32((Field.Box.Left / 2.0) - (Label.Width / 2.0)); //Centered + Label.Left = Convert.ToInt32(Field.Box.Left - Label.Width - 10); //Right-aligned } public void SetActiveValue(double value) |