Hello,
I have a question about the previewing of eligable drop locations. When I have a target layout with some items already present, I expect a preview between those items when I hover over the drop location while holding a draggable item. This works find when the items already present are leaf components (e.g. buttons). However, when they are composite components (e.g. a vbox or hbox) I find some unusual behaviour: the previewer also previews drop locations between subcomponents of those items.
...I can still drag items between the subcomponents of the vbox.
In my application, the items in my drop target are highly composite with many nested subcomponents. The current preview behaviour results in a very glitchy UI. How can I make sure that only locations are previewed between root elements of the target layout?
Hello, I have a question about the previewing of eligable drop locations. When I have a target layout with some items already present, I expect a preview between those items when I hover over the drop location while holding a draggable item. This works find when the items already present are leaf components (e.g. buttons). However, when they are composite components (e.g. a vbox or hbox) I find some unusual behaviour: the previewer also previews drop locations between subcomponents of those items.
For example, provided the following descriptor:
...I can still drag items between the subcomponents of the vbox.
In my application, the items in my drop target are highly composite with many nested subcomponents. The current preview behaviour results in a very glitchy UI. How can I make sure that only locations are previewed between root elements of the target layout?