From df127a3a77bf00802325b3f48ea14481b4bb887d Mon Sep 17 00:00:00 2001 From: KKY <8879012+kkykkykky@users.noreply.github.com> Date: Mon, 22 Aug 2022 12:13:58 -0600 Subject: [PATCH] Fix Costume list overflow & add resize for Image Board list (#157) --- src/StudioWindowResize.Core/StudioWindowResizePlugin.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/StudioWindowResize.Core/StudioWindowResizePlugin.cs b/src/StudioWindowResize.Core/StudioWindowResizePlugin.cs index bfd42cc9..2626e2f6 100644 --- a/src/StudioWindowResize.Core/StudioWindowResizePlugin.cs +++ b/src/StudioWindowResize.Core/StudioWindowResizePlugin.cs @@ -116,7 +116,7 @@ private IEnumerator Start() if (Config.Bind("Expand", "Costume list", false, "Increase height of the anim/Kinematics/Costume (coordinate / outfit) list. Warning: Might interfere with some other plugins that modify the UI. " + "It will overlap with the FolderBrowser plugin until it's updated. Needs a studio restart to apply.").Value) - ResizeScrollRect(manipulateChara.Find("05_Costume").Find("Scroll View"), ADD_CHARA); + ResizeScrollRectStrict(manipulateChara.Find("05_Costume").Find("Scroll View"), ADD_CHARA, 20, -60); if (Config.Bind("Expand", "Animation lists", true, "Increase height of the anim/Animation lists.").Value) { @@ -127,6 +127,9 @@ private IEnumerator Start() } } + if (Config.Bind("Expand", "Image Board list", true, "Increase height of the Image Board list. Needs a studio restart to apply.").Value) + ResizeScrollRect(mainMenu.Find("02_01_Panel"), ADD_BG); + if (Config.Bind("Expand", "Sound lists", true, "Increase height of the sound/BGM lists. Needs a studio restart to apply.").Value) { var soundMenu = mainMenu.Find("03_Sound");