forked from qt-creator/qt-creator
Make default background of outline white.
Requested by con.
This commit is contained in:
@@ -17,6 +17,11 @@ OutlineWidgetStack::OutlineWidgetStack(OutlineFactory *factory) :
|
|||||||
{
|
{
|
||||||
QLabel *label = new QLabel(tr("No outline available"), this);
|
QLabel *label = new QLabel(tr("No outline available"), this);
|
||||||
label->setAlignment(Qt::AlignCenter);
|
label->setAlignment(Qt::AlignCenter);
|
||||||
|
|
||||||
|
// set background to be white
|
||||||
|
label->setAutoFillBackground(true);
|
||||||
|
label->setBackgroundRole(QPalette::Base);
|
||||||
|
|
||||||
addWidget(label);
|
addWidget(label);
|
||||||
|
|
||||||
m_toggleSync = new QToolButton;
|
m_toggleSync = new QToolButton;
|
||||||
|
|||||||
Reference in New Issue
Block a user