[Interest] QStaticText's size

Igor Mironchik igor.mironchik at gmail.com
Tue Jan 16 10:03:40 CET 2018


Hello,

Is it possible to obtain correct size of the QStaticText with set width?

I use:

QStaticText st( "Some text..." );
st.setTextWidth( width );

and st.size() returns always the same size, what width I wouldn't set.

Thank you.




More information about the Interest mailing list