ScrollView canvas size automatically calculated?


25-08-2009 10:59:30

Is it possible to let the ScrollView calculate it's canvas size automatically, ie either from the controls it is containing or from the parent widget size?
I'm doing it from code right now (changing canvas size when scroll view size changes), but I like to know if there is a way to have the ScrollView widget calculating and resizing it by itself.

25-08-2009 14:24:32

setCanvasSize(const MyGUI::IntSize& _size);