Expand description, move left/right

This commit is contained in:
Tyfon
2024-05-13 18:40:14 -07:00
parent 8479a6b44c
commit 6cbc5f8d62
2 changed files with 146 additions and 34 deletions

View File

@@ -33,6 +33,7 @@ namespace UIFixes
public static ConfigEntry<bool> ShowModStats { get; set; }
public static ConfigEntry<bool> RememberInspectSize { get; set; }
public static ConfigEntry<bool> LockInspectPreviewSize { get; set; }
public static ConfigEntry<bool> ExpandDescriptionHeight { get; set; }
// Input
public static ConfigEntry<bool> UseHomeEnd { get; set; }
@@ -102,6 +103,15 @@ namespace UIFixes
null,
new ConfigurationManagerAttributes { })));
configEntries.Add(ExpandDescriptionHeight = config.Bind(
GeneralSection,
"Auto-expand to Fit Description",
true,
new ConfigDescription(
"Automatically stretch the inspect panel to fit as much of the description as possible",
null,
new ConfigurationManagerAttributes { })));
// Input
configEntries.Add(UseHomeEnd = config.Bind(
InputSection,