[Interest] QStaticText's size

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


https://bugreports.qt.io/browse/QTBUG-26768


16-Jan-18 12:03, Igor Mironchik пишет:
> 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