I'd say it's due to unnecessary QWidget { margin: 0px; padding: 10px; } in sampler.xml:line6
Appearantly this has no effect in qt4 but is respected and rendered in qt5.
If this line is removed there's no difference with qt4. Please test with qt5.
I'd open a PR but I can't compile master with qt5 reliably right now.
I'd say it's due to unnecessary QWidget { margin: 0px; padding: 10px; } in sampler.xml:line6
Appearantly this has no effect in qt4 but is respected and rendered in qt5.
If this line is removed there's no difference with qt4. Please test with qt5.
I'd open a PR but I can't compile master with qt5 reliably right now.