I’m looking forward to remove padding completly:

See that ugly space beetween a qtwebkit element and the window.
The layout is only a vbox, and inside it lives the webkit view,
I tried with:
vbox->setSpacing(0);
But no results.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
spacing is a space between widgets in layout. You need to set contents margins with
setContentsMarginsmethod. Margins define space beetween container edge and layout content.