summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2021-07-01 23:11:18 -0700
committerJacob Palecki <[email protected]>2021-07-01 23:11:18 -0700
commit526620d1cbc42d5cd1f6dc2b55484e1d7dbfdc38 (patch)
tree93c0fc96a5b0893f2238241048f1b3a7620f26d7
parentLUT Panel formatting (diff)
downloadrawaccel-526620d1cbc42d5cd1f6dc2b55484e1d7dbfdc38.tar.xz
rawaccel-526620d1cbc42d5cd1f6dc2b55484e1d7dbfdc38.zip
Further formatting adjustments
-rw-r--r--grapher/Models/Options/AccelOptionSet.cs2
-rw-r--r--grapher/Models/Options/AccelTypeOptions.cs8
2 files changed, 6 insertions, 4 deletions
diff --git a/grapher/Models/Options/AccelOptionSet.cs b/grapher/Models/Options/AccelOptionSet.cs
index 8b957f1..8fb2ad5 100644
--- a/grapher/Models/Options/AccelOptionSet.cs
+++ b/grapher/Models/Options/AccelOptionSet.cs
@@ -46,8 +46,8 @@ namespace grapher.Models.Options
{
IsTitleMode = false;
- HideTitle();
Options.ShowFull();
+ HideTitle();
}
}
diff --git a/grapher/Models/Options/AccelTypeOptions.cs b/grapher/Models/Options/AccelTypeOptions.cs
index 4222d48..75860f4 100644
--- a/grapher/Models/Options/AccelTypeOptions.cs
+++ b/grapher/Models/Options/AccelTypeOptions.cs
@@ -226,7 +226,7 @@ namespace grapher
{
AccelDropdown.Show();
AccelTypeActiveValue.Show();
- Layout();
+ Layout(AccelDropdown.Bottom + Constants.OptionVerticalSeperation);
}
public override void Show(string name)
@@ -253,6 +253,8 @@ namespace grapher
public void ShowFull()
{
+ LutText.Expand();
+
if (ShowingDefault)
{
AccelDropdown.Text = Constants.AccelDropDownDefaultFullText;
@@ -260,11 +262,12 @@ namespace grapher
Left = Acceleration.Left + Constants.DropDownLeftSeparation;
Width = Acceleration.Width - Constants.DropDownLeftSeparation;
- LutText.Expand();
}
public void ShowShortened()
{
+ LutText.Shorten();
+
if (ShowingDefault)
{
AccelDropdown.Text = Constants.AccelDropDownDefaultShortText;
@@ -272,7 +275,6 @@ namespace grapher
Left = Acceleration.Field.Left;
Width = Acceleration.Field.Width;
- LutText.Shorten();
}
public void SetArgs(ref AccelArgs args)