Settings Dialog: don't put padding on the toolbar extension

Otherwise the extension just disapear with some styles (see Issue #3795)
This commit is contained in:
Olivier Goffart 2015-10-27 13:42:25 +01:00
parent 3f2a2cb14b
commit 84a04de7be

View File

@ -43,6 +43,7 @@ namespace {
const char TOOLBAR_CSS[] =
"QToolBar { background: %1; margin: 0; padding: 0; border: none; border-bottom: 1px solid %2; spacing: 0; } "
"QToolBar QToolButton { background: %1; border: none; border-bottom: 1px solid %2; margin: 0; padding: 5px; } "
"QToolBar QToolBarExtension { padding:0; } "
"QToolBar QToolButton:checked { background: %3; color: %4; }";
static const float buttonSizeRatio = 1.618; // golden ratio