Author Topic: How to create draggable UI Structure with different sized items  (Read 1256 times)

hello@patrikstas.com

  • Guest
Hi, I woudl like to create UI structure like as I drawed in the attached picture, but I am not sure what would be the best structure for this. Main items should be consist of UIGrid in which I can add more items of same dimensions. I suppose there should be no problem with constructing UIGrid like that. What is concerning me is how to achieve dragging and clipping of items (as I mention UIGrids probably ) which has different heights (cause each of them may contain different number of subitems) -> Which I guess mean I cannot use UIDraggablePanel for this, since that one require UIGrid which defines same dimension for every item.
I have been wondering about using UITable for storing different size MainItems, but -> In that case, I dont know how to achieve dragging and clipping.
Do you have some ideas on architecture of structure like this ? Thank you very much.


// EDIT
Ok, now I realised I can do clipping at any panel (somehow I fixed in memory just UIDraggablePanel) and crossed over UIDragObject, so I guess that this is way to go. Although any advices are still welcomed :-)
« Last Edit: May 31, 2013, 01:10:10 PM by hello@patrikstas.com »