pylustrator
pylustrator copied to clipboard
Make the panels resizeable
Hi,
I just tried Pylustrator with the example code and I like your idea.
I am using Ubuntu 22.04, Python 3.10, Pylustrator runs in a virtual environment.
If the screen resolution is too high (3840 x 2160, scale 200%), the right panel is not usable : the controls are too small.
It would be nice, if you can make the panels resizeable.
Regards

I made the toolbar resizable. But now the left bar also extends when resizing the window. I am not sure how to convince Qt otherwise...
A similar problem on macOS 12.5.1 (with the portion in the red rectangle):
Having some control under the menu bar is a good improvement.
I can not capture the mouse cursor but when it is in the "green" area, but its shape changes to a form that make me believe I can resize the panels. Unfortunately, it has not effect.
As a consequence, some controls are still difficult to use (x-Label, x-Lim) without panel resize. The size seems fixed to the size it gets at launch.
The panel is now properly resizeable. Took me a while to figure out how to best implement that with the Qt sizing policies.