From d2d65b6662b57edc99d31b6edf47a5f2942d01a8 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Mon, 19 Mar 2018 20:26:14 +0200 Subject: More stylistic changes & dark theme tweaks --- src/timeline/TimelineItem.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/timeline/TimelineItem.cc') diff --git a/src/timeline/TimelineItem.cc b/src/timeline/TimelineItem.cc index 371ced10..326b2c14 100644 --- a/src/timeline/TimelineItem.cc +++ b/src/timeline/TimelineItem.cc @@ -31,6 +31,10 @@ constexpr const static char *CHECKMARK = "✓"; +constexpr int MSG_RIGHT_MARGIN = 7; +constexpr int MSG_BOTTOM_MARGIN = 4; +constexpr int MSG_PADDING = 20; + void TimelineItem::init() { @@ -68,8 +72,8 @@ TimelineItem::init() topLayout_ = new QHBoxLayout(this); mainLayout_ = new QVBoxLayout; messageLayout_ = new QHBoxLayout; - messageLayout_->setContentsMargins(0, 0, 20, 4); - messageLayout_->setSpacing(20); + messageLayout_->setContentsMargins(0, 0, MSG_RIGHT_MARGIN, MSG_BOTTOM_MARGIN); + messageLayout_->setSpacing(MSG_PADDING); topLayout_->setContentsMargins(conf::timeline::msgMargin, conf::timeline::msgMargin, 0, 0); topLayout_->setSpacing(0); -- cgit 1.5.1