Problem:
Summary
I was wondering if there were any way to control the size of a dropped drag source, depending on the source itself; in particular I am looking for some sort of javascript function.
Thank you
ActivePresenter version:
OS:
Notes:
Problem:
I was wondering if there were any way to control the size of a dropped drag source, depending on the source itself; in particular I am looking for some sort of javascript function.
Thank you
ActivePresenter version:
OS:
Notes:
Hi Nukubi,
ActivePresenter offers the Size (%) option in the drop target (Properties pane > Interactivity > Drag-n-Drop), which helps resize any dropped drag source.
Regarding setting up separately for each drag source, unfortunately, it’s not possible.
Regards,
Tuyen
Hi,
the preview of this post is different from what the post says when you click it.
Anyway, I hope I am in the right place.
I’ve discovered that if I change the size of a drag source through JS, the drag source will always go back to its original size at drag end.
Why is that?
Is there a way to avoid that?
Thanks a lot, Rolf
Hi Rolf,
Please create a simple project illustrating your intention and send it to support@atomisystems.com so we can help to check the scripts.
Regards,
Thuy
We received your project, @Rolf
After dragging and releasing the mouse, the drag source changes its state to Normal so its size will be reset.
To avoid that, you can add this.width(30);
on the drag source’s On Drag End event.
Regards,