View Single Post
01/21/19, 10:52 PM   #1
Akira.Iris
Join Date: Jun 2018
Posts: 4
Resizing ZO_ScrollList to fit parent

Hi, I'm just starting to do some addon-writing and I'm getting a hang of it, but there are some things I can't seem to find answers to anywhere. But maybe I'm missing something very obvious and simple.

Summary: how do I make the ZO_ScrollList and it's rows resize with the parent container?

Details: I have a list and want to display some data in it. I started by looking at the Scroll List Example addon, fixed a couple of things to get it working and to make the main windows resizable, but the scroll list doesn't seem to be resizing with it. So I assume by default that's not a built-in functionality? However there are many other addons that do have the scroll lists resize(Arkadius' Trade Tools, Dolgubon's Lazy Set Crafter, etc). I tried looking through the code, but can't seem to find how they're doing it.

If someone could, please point me in the right direction!
  Reply With Quote