Skip to content

Commit

Permalink
NEW: text editor style sheet moved to ui section.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stepan Kuzmin committed Jul 21, 2011
1 parent 70bf517 commit 45fb21d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions zenwriter.cpp
Expand Up @@ -6,8 +6,6 @@ ZenWriter::ZenWriter(QWidget *parent) :
ui(new Ui::ZenWriter)
{
ui->setupUi(this);
ui->plainTextEdit->setFrameShape(QFrame::NoFrame);
ui->plainTextEdit->setStyleSheet("border: 1px dotted grey; border-radius: 4;");
}

ZenWriter::~ZenWriter()
Expand Down
4 changes: 4 additions & 0 deletions zenwriter.ui
Expand Up @@ -26,6 +26,10 @@
<pointsize>12</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">border: 1px dotted grey;
border-radius: 4;</string>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
Expand Down

0 comments on commit 45fb21d

Please sign in to comment.