paceholder / nodeeditor

Qt Node Editor. Dataflow programming framework
BSD 3-Clause "New" or "Revised" License
2.92k stars 795 forks source link

fix: The node resize will now be based on the embedded widget policy #339

Closed zmoth closed 1 year ago

zmoth commented 1 year ago

You can try using resizeable_images

Win10 Qt5.15.2&6.3.0 MVSC

Before: You can change the size at will and even make the widget so small that it is invisible. image

After: Depends on the size property of the inline widget. You can use setMinimumSize() and setMaximumSize() to limit the size of the node

If setFixSize() is set, even if resizeable is equal to true, it will not be possible to zoom in and out.

Inadequate: When the node is minimized, the mouse continues to move but the node no longer changes. If you move the mouse to zoom in without releasing it, then the starting point of the calculation is the current mouse point.

paceholder commented 1 year ago

Thanks for the fix, I'll look into it. Just did not get enought time last days.

paceholder commented 1 year ago

I rebased and squashed the commits manually. Closing this one. Thanks!