[SailfishDevel] TextArea : rich text support && SilicaFlickable
khertan at khertan.net
khertan at khertan.net
Tue Aug 6 22:10:00 UTC 2013
So thx to special on #sailfishos :
A work around for rich text :
Add a Component.onCompleted: {
_editor.textFormat = TextFormat.RichText
}
And for the flickable : that's just a wrong binding of content-height ... i was using childrenRect.height instead of contentItem.childrenRect.height
Regards,
--
Benoît HERVIER - http://khertan.netLe 06/08/13 22:44 Benoît HERVIER a écrit :
Hi,
If i believe the documentation of TextArea :
https://sailfishos.org/sailfish-silica/qml-sailfishsilica-textarea.html,
TextArea support rich text.
But i put the following text in a editable TextArea : 'this is <b>a</b>
test <i>lfksjdlsjdf</i>'
None decoration is made, and tag appear. I didn't see anything related
in rich text in the TextArea properties.
Also it look like i can't use a TextArea in a SilicaFlickable without
workarround, as the TextArea take the focus and input, and so can't
scroll the flickable.
Any help, idea ?
Thanks a lot
--
Benoît HERVIER - http://khertan.net/
_______________________________________________
SailfishOS.org Devel mailing list
More information about the Devel
mailing list