Solved How to change "border-radius" in QTextedit?
-
Hi.
How to change "border-radius" in QTextedit?
This does not work:ui->textEditPage6->setStyleSheet("border-radius: 10px;");
-
@Mikeeeeee said in How to change "border-radius" in QTextedit?:
ui->textEditPage6->setStyleSheet("border-radius: 10px;");
by my experience in some cases the border only works when you also set a background declaration. So you might want to try:
ui->textEditPage6->setStyleSheet( "QTextEdit {" "\n" "border-radius: 10px;" "\n" "background: white;" "\n" "}" );