lloydw/libRocket — Issue #37: Decorators not working for dynamically created element
Author: umek
Created: 2012-02-06 22:15:29+00:00
State: closed

Hey,

I'm trying to add decorator at runtime for new dynamic elements.
And seems that decorators definitions in style or via properties is just ignored.

Element* newItem = document->CreateElement("div");
newItem->SetProperty("background-image", "invader.png");
newItem->SetProperty("background-decorator","image");