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/ActiveValueLabelXY.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/ActiveValueLabelXY.cs')
| -rw-r--r-- | grapher/Models/Options/ActiveValueLabelXY.cs | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/grapher/Models/Options/ActiveValueLabelXY.cs b/grapher/Models/Options/ActiveValueLabelXY.cs index ffe57b7..9498c66 100644 --- a/grapher/Models/Options/ActiveValueLabelXY.cs +++ b/grapher/Models/Options/ActiveValueLabelXY.cs @@ -47,6 +47,19 @@ } } + public int Height + { + get + { + return X.Height; + } + set + { + X.Height = value; + Y.Height = value; + } + } + private int FullWidth { get; set; } private int ShortenedWidth { get; set; } @@ -97,9 +110,9 @@ Combined = false; } - public void AlignActiveValues(int width) + public void AlignActiveValues() { - Align(width); + Align(X.CenteringLabel.Width); if (Combined) { |