![]() |
need help for support of html tags in text in qml
i wanted to add htmltagfunctionality to harbour nemosyne, therefor i wanted to add after line 73 here https://github.com/prplmnky/harbour-...ges/Answer.qml
a textFormat: Text.StyledText statement and hoped it could support htmltags then, but unfortunately, when i run harbour-nemosyne in terminal, after compilation with the sdk it tells me that it cannot asssign to non-existent property "textFormat" harbour-vocabulary supports htmltags, but has a weaker algorithm i think, but i couldn't find out why it supports them and nemosyne not. thanks in advance for any help on this topic |
Re: need help for support of html tags in text in qml
Maybe change "paragraph" to "text" or "label". They should have a textFormat property.
Keep in mind that I have no clue about qml, but it is worth a try.:D |
Re: need help for support of html tags in text in qml
Quote:
|
Re: need help for support of html tags in text in qml
how awesome, replacing paragraph with text just works :) although it displayed the whole text in one line and it disappeared on the edge, so adding the line wrapMode: Text.WordWrap fixed this
|
All times are GMT. The time now is 07:04. |
vBulletin® Version 3.8.8