Translations:Development/Tutorials/Physical Simulation/81/en
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
This page was last edited on 19 July 2019, at 17:43. Content is available under Creative Commons License SA 4.0 unless otherwise noted.