MV Little problem with GraphicalDesignMode plugin, and "Option" windows not saving

Hello. I use the GraphicalDesignMode plugin to edit the placement and dimensions of some windows not properly supported by SRD Hud Maker, such as Window_Options, Window_OptionsCategory and Window_QuestList. All of thse do show up in SRD's plugin, only there is no field to edit their height properties, which is essential to me.

GraphicalDesignMode does offer such feature, however the changes do not stick, even upon saving multiple times after editing. Closing the window and opening it again resets its height, and closing the game and booting it again resets all the changes. The strange thing is, that only happens with the aforementioned windows. I have re-positioned the message window a while ago and it has been exactly where I put it since.

So I am wondering if there is anything special about the option-related windows, and Window_QuestList (related to YEP's Quest Journal System), and if anyone has any idea what I should do to fix this problem. Thanks, and have a nice Sunday!

I think those might have their height dynamically generated - have you tried editing the amount of rows (or height per row) instead?

Otherwise, maybe it's because of a conflict with your other plugins? Have you tried disabling Hud Maker (and anything else that might be related) and modifying it then?
You may have to set it to autosave to get it to save.
I think those might have their height dynamically generated - have you tried editing the amount of rows (or height per row) instead?

Otherwise, maybe it's because of a conflict with your other plugins? Have you tried disabling Hud Maker (and anything else that might be related) and modifying it then?
Yeah, I tried editing the amount of rows and line weight, but the results were not satisfactory. It just looks really ugly. As for disabling the HUD Maker, that is a good suggestion I haven't tried yet, thank you. It might break some stuff but still, it is worth a try.

I will be trying out autosaving as well!
Yeah, I tried editing the amount of rows and line weight, but the results were not satisfactory. It just looks really ugly.
Ah, so I remembered this correctly. Basically, some windows have a set height they'll always use, but others will generate it dynamically when they're created. That's both the reason why Hud Maker doesn't allow you to change it and why changes made with GraphicalDesignMode don't persist.

As for it looking ugly, did you also adjust the padding? With that you should be able to make it look normal.

Otherwise, if you really want to just set the height directly, it's probably best to make a simple plugin that overwrites the default behaviour:
JavaScript:
Window_Options.prototype.windowHeight = function () {
    return 600;
};
Replace 600 with whatever height you want, and make sure to put this plugin below any others you're using to change the UI.
Ah, so I remembered this correctly. Basically, some windows have a set height they'll always use, but others will generate it dynamically when they're created. That's both the reason why Hud Maker doesn't allow you to change it and why changes made with GraphicalDesignMode don't persist.

As for it looking ugly, did you also adjust the padding? With that you should be able to make it look normal.

Otherwise, if you really want to just set the height directly, it's probably best to make a simple plugin that overwrites the default behaviour:
JavaScript:
Window_Options.prototype.windowHeight = function () {
    return 600;
};
Replace 600 with whatever height you want, and make sure to put this plugin below any others you're using to change the UI.
Yup, I did try adjusting the padding. I actually recorded a video showing my attempt to fix the issue with the suggestions offered to me above and was about to post it, but your piece of code fixed the problem. Thank you!! I went ahead and added the other messy windows to the code, it ended up like this:

JavaScript:
Window_Options.prototype.windowHeight = function () {
    return 300;
};

Window_OptionsCategory.prototype.windowHeight = function () {
    return 87;
};

Window_QuestList.prototype.windowHeight = function () {
    return 300;
};
Nice, I'm glad it worked out! I was actually going to mention how you can do this for more windows if my script ended up working, but I see you've already figured that out yourself xD

Original thread: https://forums.rpgmakerweb.com/threads/little-problem-with-graphicaldesignmode-plugin-and-option-windows-not-saving.159861/