Commit 06611ff1 authored by Emmanuel Promayon's avatar Emmanuel Promayon
Browse files

FIXED clean code for action widget

parent e182bf7f
......@@ -65,9 +65,7 @@ ActionWidget::ActionWidget(Action* action): QFrame() {
// Action description presentation
descriptionTextEdit = new QTextEdit(myAction->getDescription());
descriptionTextEdit->setFrameStyle(QFrame::StyledPanel | QFrame::Sunken);
descriptionTextEdit->setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Ignored);
descriptionTextEdit->setFrameStyle(QFrame::NoFrame | QFrame::Plain);
// more discrete background color for read only textedit
QPalette readOnlyPalette = descriptionTextEdit->palette();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment