<div dir="ltr"><div>There is a problem with RichText and sailfish style. Text which I use in Label can use different colors which become unreadable on sailfish background with RichText but stay readable with StyledText because of less amount of available styled tags and attributes.<br></div>Or you think that I should ignore this problem?<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-05 11:44 GMT+03:00 Кожевников Андрей Андреевич <span dir="ltr"><<a href="mailto:coderusinbox@gmail.com" target="_blank">coderusinbox@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">use RichText<br>
<br>
05.07.2016 13:26, Oleg пишет:<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello, developers.<br>
I want to use Label with StyledText format. My text has images of different size via img html tag and this tag very often has width attribute.<br>
I modify text and set width to screen size.<br>
And the problems begin: if I use RichText format all are awesome and image has proper width and height  accordingly to this width.<br>
But I need to use StyledText and when I set width - image doesn't scaled to this width. If I set height too - it scaled better but I can't calculate proper height of image and image takes mach space in Label.<br>
Can you help me how I can show scaled images in StyledText format as in RichText format?<br>
<br>
</blockquote>
<br></span>
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfishos.org</a></blockquote></div><br></div>