BUG: Automatically created drag'n'drop images are not scaled

I’ve two ListBox objects within the same DragAndDropContainer object. One of them is a DragAndDropTarget.

The MainComponent is scaled with setTransform(), so my whole GUI scales when the user resizes the window.

Now as soon as I drag a list item from the source to the target, a preview-image gets created, but unfortunately, it’s not scaled at all. It’s always 100% of the size. So if my GUI is only 30%, the drag’n’drop items seem huge and if the GUI is scaled to 150% (my default for my monitor), then the items seem too small.

Is this a bug, or is there a workaround?

Cheers,
Mike

2 Likes

I’ve pushed a fix to develop here, does it fix the issue for you?

1 Like

Yes, that works perfectly :smiley:

Thanks.