CadQuery / CQ-editor

CadQuery GUI editor based on PyQT
Apache License 2.0
757 stars 116 forks source link

3D viewer image does not fill frame after resizing window #370

Open billtubbs opened 1 year ago

billtubbs commented 1 year ago

To Reproduce

I am launching CQ-editor from the console

CQ-editor

When I resize the window (or change the proportions of the internal frames within the window) the rendered 3D image does not adjust to the new frame size.

Screen Shot 2022-10-09 at 14 46 46

If I quit QT-editor, reopen and then render it fills the window.

Not sure if this is related to #369.

Environment

OS X 10.15.7

conda install -c cadquery -c conda-forge cq-edimaster
adam-urbanczyk commented 1 year ago

I don't have a mac, so it'll be difficult to solve. What happens if you try to interact with the canvas (drag or click on it)? Is anything weird reported to stdout or the logging window?

billtubbs commented 1 year ago

The canvas itself works fine. I can drag and rotate the view no problems. I don't see any messages in the current traceback or log viewer windows, or in the console.

billtubbs commented 1 year ago

Interestingly, if I shrink the window to a smaller size, the view descends down off the bottom of the frame leaving a black space above it.

Screen Shot 2022-10-10 at 13 36 17