summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-05-26 10:34:34 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-05-26 10:34:34 +0300
commit90595beb16351b414d248f969eb32cb37fda84b0 (patch)
treeb09c7d8b430e234ced34b65d571534c8827fb6d6 /src
parentFix resize slowness on the TopBar (diff)
downloadnheko-90595beb16351b414d248f969eb32cb37fda84b0.tar.xz
Set fixed height for the DateSeparator & TextLabel
Diffstat (limited to 'src')
-rw-r--r--src/timeline/TimelineView.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/timeline/TimelineView.cc b/src/timeline/TimelineView.cc

index 94ecb304..71058d74 100644 --- a/src/timeline/TimelineView.cc +++ b/src/timeline/TimelineView.cc
@@ -60,6 +60,8 @@ DateSeparator::DateSeparator(QDateTime datetime, QWidget *parent) QFontMetrics fm{font_}; width_ = fm.width(msg_) + HPadding * 2; height_ = fm.ascent() + 2 * VPadding; + + setFixedHeight(height_ + 2 * HMargin); } void