Community
Participate
Working Groups
In SWT is possible the change the order of coolitems, to put them on several rows and to hide them - in RWT it's not possible.
Created attachment 93408 [details] Snippet150.java
Dragging a CoolItem before or after another one, causes it to be "stuck" behind (z-index) the other items on the position it was dropped. To reproduce: In the controls demo, tab "CoolBar", drag the last (3rd) item between the first two.
Created attachment 148518 [details] Proposed patch
> Created an attachment (id=148518) [details] > Proposed patch Hm. Using this patch, the actions described in comment#2 still don't work. Only now, instead of beeing stuck behind the other items, the item snaps back to its original location.
According to me the bug is fixed by this patch. Reordering works correctly and the items do not end overlapped.
(In reply to comment #5) > According to me the bug is fixed by this patch. Reordering works correctly and > the items do not end overlapped. Agreed, it seems i was mistaken. The controls-demo is a bit confusing, because a) when resizing the CoolBar, the CoolItems are cut of instead of moved into a new row and b) the items look (almost) alike.
Applied patch to CVS HEAD