Textedit changing the linespacing for wordwrap text

  • for the textedit, is it possible to change the linespacing between wordwrap text? for the textedit widget, wordwrap is enabled. when i write a long paragraph, the text wraps and i would like to change that linespacing between text. for the code below, the code works great for new paragraph of text, but not for a wordwrap text

    @TextEdit->setStyleSheet("<style type='text/css'>p { margin-top:0px; margin-bottom:25px;}</style>");@

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.