ItemEntry Limit

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

celest_3rd
Just popping in
Just popping in
Posts: 6
Joined: Sat May 10, 2008 18:00

ItemEntry Limit

Postby celest_3rd » Thu Aug 28, 2008 22:07

How many ItemEntry can be contained in ItemListbox with no error ?
I tried to set 300 ItemEntry(s) ,but It's disappeared from Listbox.
How to fix or expand limit of item ?

Image
300 items : items disappear !!

Image
100 items : work fine

Thanks in advanced :wink:

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Mon Sep 01, 2008 08:38

There is currently a limit to the total number of windows that can be present on any given viewport (which generally means the system as a whole, unless you are messing with multiple GUI roots, etc).

Currently the limit is 1000 windows. To increase this you will need to edit the file src/CEGUIRenderer.cpp and change the 'guiZElementStep' value to something smaller and rebuild the lib.

There is no good reason for this limit and it should be removed in the future.

CE

celest_3rd
Just popping in
Just popping in
Posts: 6
Joined: Sat May 10, 2008 18:00

Postby celest_3rd » Wed Sep 03, 2008 10:59

Thanks CrazyEddie :wink: :wink:

I think about it and rebuild program structure from long-list itemlist into page-seperated itemlist.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 4 guests