Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kamm <mail@ckamm.de>2015-08-19 17:15:30 +0300
committerChristian Kamm <mail@ckamm.de>2015-08-19 17:58:27 +0300
commit791c550a8ea501f85361056f1247810611a9530e (patch)
tree6f63b2b7263bfe5d97deb3c7f6f07849bd654325 /src/gui/folderstatusdelegate.cpp
parent344d3565f85281ffcad3f6784f00e1323aa2a4a6 (diff)
FolderStatusDelegate: Add margin to button #3650
Diffstat (limited to 'src/gui/folderstatusdelegate.cpp')
-rw-r--r--src/gui/folderstatusdelegate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/folderstatusdelegate.cpp b/src/gui/folderstatusdelegate.cpp
index b1b787e1a..97b66ebf1 100644
--- a/src/gui/folderstatusdelegate.cpp
+++ b/src/gui/folderstatusdelegate.cpp
@@ -101,6 +101,7 @@ void FolderStatusDelegate::paint(QPainter *painter, const QStyleOptionViewItem &
opt.state |= QStyle::State_Raised;
opt.text = addFolderText();
opt.rect.setWidth(qMin(opt.rect.width(), hint.width()));
+ opt.rect.translate(0, 10);
QApplication::style()->drawControl(QStyle::CE_PushButton, &opt, painter
#if QT_VERSION >= QT_VERSION_CHECK(5,0,0)
, option.widget