Translations:Development/Tutorials/Physical Simulation/81/en: Difference between revisions
Appearance
Importing a new version from external source |
(No difference)
|
Latest revision as of 17:43, 19 July 2019
setBackgroundRole(QPalette::Base); //Background color: this nice gradient of gray
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); //allow for expanding of the widget, aka use the minimumSizeHint and sizeHint