Hello,
I have texedit ..
and I change font size ...
and then everythink is ok, but if I add imgCode:
textEdit->setFontPointSize(12);
then text font before img is ok but after img is not this size ... and how can I change font to 12 after img ?Code:
textEdit->insertHtml("<img src=\""+emoticonFull+"\" alt=\""+emoticon+"\" />");
I try:
but it is not working ....Code:
int iRealFontSize = textEdit->fontWeight(); // fix textEdit->insertHtml("<img src=\""+emoticonFull+"\" alt=\""+emoticon+"\" />"); textEdit->setFontWeight(iRealFontSize); // fix
Text before img and after I add by
Example:
http://img695.yfrog.com/img695/8138/bugc.png