Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Is it possible to have a QGridLayout where the I can control the size of the cells?
In the image I want the top row to be 'thinner' or less high
Well the widgets you put in - defines the cell size.
So if you limit a widget height (maxHeight), then yes, grid will be like that.
JonB last edited by
I realise this is OT, but how do you get the kind of "toggle switch slide" buttons you have like against MaintenanceLights?
the problem is that they are layouts rather that widgets
The problem can be solved by setting row stretch