PDA

View Full Version : [Layout] Custom layout - or this is possible with build-in layouts ?



chio1
12 Jul 2013, 1:37 AM
Hi,

I'm wondering how can I achive following layout:

1) I have 3 panels and they need to be resized to fit windows size - something like hbox.

44851

2) If i will shrink window to certain point (lets say panel width meet minWidth) last panel is pushed down and all panels are resized to fit width.

44852

Do I need to create custom layout to achieve this functionality ?
Is there any example how to extend layout or implement custom ?

Thx

slemmon
14 Jul 2013, 8:45 PM
There is not a layout in the framework to do what you're wanting. You will need to create your own layout logic that monitors the parent container's width and re-lays out the child items (or even removes / adds them to child containers with layouts of their own to achieve the desired effect.