pylustrator icon indicating copy to clipboard operation
pylustrator copied to clipboard

Make the panels resizeable

Open fconil opened this issue 2 years ago • 1 comments

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

fconil avatar Aug 17 '22 15:08 fconil

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...

rgerum avatar Aug 22 '22 15:08 rgerum

A similar problem on macOS 12.5.1 (with the portion in the red rectangle):

resize

AlainOUYANG avatar Sep 27 '22 09:09 AlainOUYANG

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.

pylustrator-panel-not-resizable

fconil avatar Sep 28 '22 11:09 fconil

The panel is now properly resizeable. Took me a while to figure out how to best implement that with the Qt sizing policies.

rgerum avatar Oct 24 '22 20:10 rgerum