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. >