Open prjemian opened 2 years ago
Stretchability comes from putting widgets into layouts. Will prototype with the converted motorxU.ui
screen. Need to ensure that layouts have zero border size so that visual arrangement is not distorted.
Here is a discussion how to override. As it says, it won't be easy:
Possibly embedding the MEDM screen within a Qt custom layout will satisfy this issue.
On discussion, PyDM has a FlowLayout(QLayout)
that may be a suitable example for starting this one. Make a new issue and develop in the PyDM repository under pydm/layouts
.
Once that layout manager is complete, use it when writing screens here.
When a screen is displayed, the widgets do not stretch with the screen window.
As drawn initially:
Stretched: