07-31-2013 05:26 PM
Hi all, thanks for your attention and any suggestion/help you can provide:
Here we go
I have following layout in QML:
In my c++ code I'm setting a huge UTF-8 QString to this label:
QString text = getData(); //a helper function to take care of pulling everything from
//db and then packing it all and returning to caller
In most cases everything works fine. But in some cases when text.length() passes a certain limit, something trims out the end part of the string.
From debugging I can see the text.length in one of those cases is ~55000.
Also I verified that Label was able to show text upto 3000 characters.
Also I can say this without any doubt that this has nothing to do with ScrollView or Container.
No Label, ScrollView or Container documentation defines any kind of limit other than somewhere it says that it can be device dependent.
I also tried using a TextArea but without much help, it went upto ~4000 characters.
So, finally, is there a known char limit for Label or TextArea, or if it's a device dependent thing then how can I overcome this issue? Please help.
08-14-2013 07:07 AM
How about using a webview?
I suggested the same at other post about this here
and in his other other post here somebody posted a code sample as well as the idea was not sufficient.