Skip to content

Commit

Permalink
Fix Costume list overflow & add resize for Image Board list (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkykkykky authored Aug 22, 2022
1 parent e927060 commit df127a3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/StudioWindowResize.Core/StudioWindowResizePlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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");
Expand Down

0 comments on commit df127a3

Please sign in to comment.