How to set fixed width in qtextdocument?
-
Hi,
I have QTextEdit object. It is not editable, readonly etc.
I don't know what text I will have on it, but I would like to have fixed width and change only height.
I tried with qtextdocument:
textEdit->document()-> something textEdit->resize(something);
but with no good results.
-
Hi,
I have QTextEdit object. It is not editable, readonly etc.
I don't know what text I will have on it, but I would like to have fixed width and change only height.
I tried with qtextdocument:
textEdit->document()-> something textEdit->resize(something);
but with no good results.
-
Hi,
I have QTextEdit object. It is not editable, readonly etc.
I don't know what text I will have on it, but I would like to have fixed width and change only height.
I tried with qtextdocument:
textEdit->document()-> something textEdit->resize(something);
but with no good results.