I’m writing code to display html content in Qwebview, i did it by setHtml method of QWebview.
I also disabled scrollbars successfully.
But i stuck with problem that how to make contents to fit to size of QWebView.
please help..
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.
I solve that problem by setting Zoom level
Actually if you want to fit html content to Qwebview size use,
qWebView->setZoomFactor(0.5); set according to your htmlContent size .