[Pkg-owncloud-commits] [owncloud-client] 152/484: Settings Dialog: don't put padding on the toolbar extension

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Dec 16 00:37:32 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 84a04de7be342c07eab1c3e06cbddecc035be820
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Tue Oct 27 13:42:25 2015 +0100

    Settings Dialog: don't put padding on the toolbar extension
    
    Otherwise the extension just disapear with some styles (see Issue #3795)
---
 src/gui/settingsdialog.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gui/settingsdialog.cpp b/src/gui/settingsdialog.cpp
index d8c83ce..7657a5b 100644
--- a/src/gui/settingsdialog.cpp
+++ b/src/gui/settingsdialog.cpp
@@ -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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list