How to add multiline text to Qlabel
Unsolved
General and Desktop
-
hi guys,,
im doing chat application,,, if type message i n edittext and press send button is showing in Qlistwidget
in that i gave maximumwidth to cell,,,if message reches to maximum size it should show in next line now its showing in same lineplease help me
thanks in advance
-
@Bharth I guess you disabled word wrapping in QLabel you're inserting as I suggested in your other thread (https://forum.qt.io/topic/100209/how-to-add-space-to-qlabel) is that correct? Do you insert QLabel into QListWidget or do you insert strings directly into QListWidget?
You can activate word wrap in QListWidget and also in QLabel.