jcr
18th October 2010, 18:29
Hello,
I have a widget "events_widget" that takes the whole screen
and I do something like
QStringList tokens;
...
QString text = tokens.at(1) + "\n"
+ " " + tokens.at(2) + "\n"
+ " Cap: " + tokens.at(3) + " Reg: " + tokens.at(4);
+ " Can: " + tokens.at(5) + " Wait: " + tokens.at(6);
QListWidgetItem* item = new QListWidgetItem(text,events_widget);
The problem is that when tokens.at(1) is too long for the screen, the remaining of the the text does not appear. Since I am targeting a Symbian ^3, the end of the screen is reached quite fast.
Any idea, on how to fix that?
thank you!
I have a widget "events_widget" that takes the whole screen
and I do something like
QStringList tokens;
...
QString text = tokens.at(1) + "\n"
+ " " + tokens.at(2) + "\n"
+ " Cap: " + tokens.at(3) + " Reg: " + tokens.at(4);
+ " Can: " + tokens.at(5) + " Wait: " + tokens.at(6);
QListWidgetItem* item = new QListWidgetItem(text,events_widget);
The problem is that when tokens.at(1) is too long for the screen, the remaining of the the text does not appear. Since I am targeting a Symbian ^3, the end of the screen is reached quite fast.
Any idea, on how to fix that?
thank you!