Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Adding a Custom Widget to a ScrollArea
-
This post is deleted!
-
When a widget is set to be centralWidget, it will be automatically resized according to the main window.
But scroll areas don't behave like that.
Are you usingQScrollArea
?
You can have a try atvoid QScrollArea::setWidgetResizable(bool resizable)
-
Hi,
Sorry if my question seems off topic but aren't you re-inventing QLabel ?
-
This post is deleted!