문제

In my application im trying to load a simple formatted text with some images into QTextBrowser. When im trying to set my image size using :

  <img style="width: 128px; height: 128px;" src=":/new/prefix1/Star-five.png"/>

The qtextbrowser is automatically modifying my html and removing "style". Is there something i do wrong? Im setting this style from form editor.

도움이 되었습니까?

해결책

Question asnwered. Need to use width height properties without "px".

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top