CEGUI Logo
This issue tracker is now in read-only mode. We migrated all our old bug reports to our bitbucket issue tracker
Please use our new issue tracker to report bugs. You can easily find all mantis tickets on our new issue tracker by selecting the appropriate bitbucket repo (CEGUI/CEED/Silly) and searching for the mantis ticket ID number.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000346CEGUICore library (CEGUIBase)public2010-03-21 07:522010-03-25 12:58
ReporterTimo 
Assigned ToCrazyEddie 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product VersionMercurial: default branch 
Target VersionFixed in VersionMercurial: default branch 
Summary0000346: Adding items to ItemListbox doesn't update client rect
DescriptionTested in branches/v0-7 r2484

Some code to demonstrate the issue:

ItemListbox *ilb = (ItemListbox*)WindowManager::getSingleton().createWindow("TaharezLook/ItemListbox");
System::getSingleton().getGUISheet()->addChildWindow(ilb);
ilb->setArea(UDim(0,100),UDim(0,100),UDim(0,100),UDim(0,100));
ilb->notifyScreenAreaChanged(); //this is to reset the clipping rect to ItemRenderArea
for(int i=0;i<10;i++){
    ItemEntry *ie = (ItemEntry*)WindowManager::getSingleton().createWindow("TaharezLook/ListboxItem");
    ie->setText("blahblahblahblah");
    ilb->addItem(ie);
}

TaharezLook isn't very good for showing it, but you can still see the issue. Even though both scrollbars are visible, the list items are not clipped to ItemRenderAreaHVScroll, but to ItemRenderArea. If you make a one more call

ilb->notifyScreenAreaChanged();

then the clipping rect gets updated correctly to ItemRenderAreaHVScroll.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000439)
CrazyEddie (administrator)
2010-03-25 12:58

This should now be fixed in branches/v0-7 @ r2487.

Thanks :)

- Issue History
Date Modified Username Field Change
2010-03-21 07:52 Timo New Issue
2010-03-21 09:26 CrazyEddie Status new => assigned
2010-03-21 09:26 CrazyEddie Assigned To => CrazyEddie
2010-03-25 12:02 CrazyEddie Status assigned => confirmed
2010-03-25 12:58 CrazyEddie Note Added: 0000439
2010-03-25 12:58 CrazyEddie Status confirmed => resolved
2010-03-25 12:58 CrazyEddie Fixed in Version 0.8.3 => Mercurial: default branch
2010-03-25 12:58 CrazyEddie Resolution open => fixed
Get Crazy Eddies GUI System at SourceForge.net. Fast, secure and Free Open Source software downloads


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker