summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-05-04 15:47:04 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-05-04 15:47:04 +0300
commit8dd21b1daea1fea833223e91c6e39ddb802bcc50 (patch)
tree325799290e23fa80095daef1b783c76cd41880fc /include
parentBump version (diff)
downloadnheko-8dd21b1daea1fea833223e91c6e39ddb802bcc50.tar.xz
Remove the extra top margin from timeline widgets
Diffstat (limited to 'include')
-rw-r--r--include/timeline/TimelineItem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/timeline/TimelineItem.h b/include/timeline/TimelineItem.h

index 24d7726b..82ff5ca7 100644 --- a/include/timeline/TimelineItem.h +++ b/include/timeline/TimelineItem.h
@@ -193,7 +193,7 @@ TimelineItem::setupLocalWidgetLayout(Widget *widget, const QString &userid, bool generateTimestamp(timestamp); widgetLayout_ = new QHBoxLayout; - widgetLayout_->setContentsMargins(0, 5, 0, 0); + widgetLayout_->setMargin(0); widgetLayout_->addWidget(widget); widgetLayout_->addStretch(1); @@ -239,7 +239,7 @@ TimelineItem::setupWidgetLayout(Widget *widget, const Event &event, bool withSen generateTimestamp(timestamp); widgetLayout_ = new QHBoxLayout(); - widgetLayout_->setContentsMargins(0, 5, 0, 0); + widgetLayout_->setMargin(0); widgetLayout_->addWidget(widget); widgetLayout_->addStretch(1);