If I understood your question correctly, you should use the setWordWrap
function for your label, with true
as its parameter.
QLabel lbl("long long string");
lbl.setWordWrap(true);
If I understood your question correctly, you should use the setWordWrap
function for your label, with true
as its parameter.
QLabel lbl("long long string");
lbl.setWordWrap(true);