-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
5.4.0, 5.5.1
-
None
I set the css to qwebview , but when i changed inputMethod to chinese ,the font color auto change to black. The english is normal. I have upload the small example in the attachment.
QWebView *m_webView = new QWebView; m_webView->page()->mainFrame()->setHtml(QString("<html><head></head><body style=\"color:%1; font-Size:%2pt; word-wrap:break-word;x-overflow:hidden;\"></body></html>").arg("#ff0000").arg("12")); m_webView->page()->setContentEditable(true);