Commit e21843e3 authored by Tim Jenssen's avatar Tim Jenssen
Browse files

QmlDesigner: set splitter handle zero again

Was broken since 6f1d2371

 which sets
css only at widgets where it is necessary.

Change-Id: Ia60672136ad8c73791806c920051918dbb23748c
Reviewed-by: Thomas Hartmann's avatarThomas Hartmann <thomas.hartmann@qt.io>
parent 843f310d
......@@ -34,11 +34,3 @@ QToolButton#centralTabBar {
height: 16px;
border: none;
}
QSplitter::handle:horizontal {
width: 0px;
}
QSplitter::handle:vertical {
height: 0px;
}
......@@ -49,6 +49,7 @@ SwitchSplitTabWidget::SwitchSplitTabWidget(QWidget *parent)
setObjectName("backgroundWidget");
m_splitter->setObjectName("centralTabWidget");
m_splitter->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
m_splitter->setHandleWidth(0);
QString sheet = QString::fromUtf8(Utils::FileReader::fetchQrc(":/qmldesigner/centerwidget.css"));
m_tabBarBackground->setStyleSheet(Theme::replaceCssColors(sheet));
......
Markdown is supported
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