Using examples/widgets/dialogs/licensewizard produces the right picture after the recent merges into 5.3.
Issues to be fixed for Qt 5.3.1
Android: standarddialogs example looks crazy with GL plugin
When a widget is programatically resized then it will trigger a spontaneous event even though the event did not originate from the system
QWidget receives two resizeEvent's before its first paintEvent