Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.0.0
-
None
Description
QMl Rich Text/Label element have incorrect horizontal alignment if line starts with html image inside
Unable to find source-code formatter for language: qml. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
Label {
width: parent.width
horizontalAlignment: Text.AlignRight
text: '<img src="../images/test.png">text'
textFormat: Text.RichText
wrapMode: Text.Wrap
}
Image aligned to left side and text aligned to right.
Unable to find source-code formatter for language: qml. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
Label {
width: parent.width
horizontalAlignment: Text.AlignRight
text: 'text<img src="../images/test.png">text'
textFormat: Text.RichText
wrapMode: Text.Wrap
}
image and text aligned to right