Page 1 of 1

maximum # of widgets?

Posted: Mon Oct 01, 2007 21:34
by overlord
Hi,

I have a scrollablepane with a bunch of TaharezLook/StaticImages
in them. if i insert a bunch of these images in there, they no longer
appear. What's the reason for this? I'm not running out of texture
memory...???

thanks,
overlord

Posted: Tue Oct 02, 2007 13:38
by scriptkid
I would advise to check the cegui.log file for errors/warnings. Maybe you add all image at the same position which causes weirdness? Or do you lay them out in a grid or something?

Posted: Tue Oct 02, 2007 17:55
by overlord
there doesn't seem to be any warnings of use.
basically i have these widgets that are made up of several
widgets. in total i have around 7 widgets. 5 static images
and 1 line of text. i have a bunch of these things laid out
in a grid so i don't have horizontal scroll lines. if i reduce
the # of widgets in the widget, then i get more of them.

i'm replacing all these widgets with a fixed image that i'm
pre generating instead, but i'd rather be able to build these thing
dynamically in cegui...

Posted: Wed Oct 17, 2007 19:50
by daves
I cant imagine this being a "running out of memory problem", given the number of images that you are talking about.

Did you figure this out?