I’m implementing drag & drop on a vertical list box. Everything is working perfectly. It’s a simple vertical box with custom widget child.
This is how the custom widget looks like:
Now I want to create a different widget on drag. The widget will be pretty much the same thing but in a square version.
Like this:
The only difference here is that when it’s on drag I will add an image to it. Now the issue that I’m having is that when it’s dragged the size is not squared but a stretched rectangle.
Like this:
How can I change it’s size to make it look like a square? I tried with SlotAsCanvasSlot but it’s not returning anything. I tried changing the scale, but it’s not working correctly. Here’s how I’m creating the widget: