ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   Change the size of UI windows (e.g. Inventory)? (https://www.esoui.com/forums/showthread.php?t=7727)

crafty35a 04/15/18 09:55 PM

Change the size of UI windows (e.g. Inventory)?
 
It strikes me that the default UI wastes an awful lot of screen space for certain elements, especially vertically. For example, the Inventory screen is about half as tall as it could be. It would be great to modify the height of this screen, and others, to show more data at once. Is this possible with the current API?

Dolgubon 04/15/18 10:12 PM

It is in the base game settings somewhere. You can increase the UI scale. If you want to increase just the inventory, that would be possible but a bit more difficult. You might be lucky and get a larger inventory just by increasing the hiegjt of the inventory control, but you might need to actually increase the scroll list control height too.

crafty35a 04/16/18 07:00 AM

Quote:

Originally Posted by Dolgubon (Post 34411)
It is in the base game settings somewhere. You can increase the UI scale. If you want to increase just the inventory, that would be possible but a bit more difficult. You might be lucky and get a larger inventory just by increasing the hiegjt of the inventory control, but you might need to actually increase the scroll list control height too.

Unfortunately the UI scaling option just scales the entire thing up, so it would make the text bigger instead of actually showing more data.

Thanks for the hint - I found ZO_PlayerInventory and ZO_PlayerInventoryList. I presume I need to call .SetHeight on these controls, but I've not been able to get it to work yet.

Dolgubon 04/16/18 11:35 AM

Ah I think you might need to use SetDinensions.


All times are GMT -6. The time now is 05:13 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI