summaryrefslogtreecommitdiff
path: root/grapher/Models/Options/ActiveValueLabelXY.cs
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-09-08 12:35:23 -0700
committerJacob Palecki <[email protected]>2020-09-08 12:35:23 -0700
commita6448c4a2447a090558da5f52dea3dc418389e8a (patch)
tree0b985ffcc1551cfdaddb63864904e8f80da335cf /grapher/Models/Options/ActiveValueLabelXY.cs
parentRemove and sort usings en masse (diff)
downloadrawaccel-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.cs17
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)
{