From da03788d6cf2ba4f80662107472227014f853efe Mon Sep 17 00:00:00 2001 From: laserpants Date: Fri, 15 Apr 2016 11:21:28 +0300 Subject: [PATCH] decrease tab underline width --- components/tabs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/tabs.cpp b/components/tabs.cpp index a5073d8..c2be51e 100644 --- a/components/tabs.cpp +++ b/components/tabs.cpp @@ -75,11 +75,11 @@ void Tabs::updateInkBar() const QRect &r = item->geometry(); const qreal s = 1-_tween; if (QAbstractAnimation::Running != _animation->state()) { - _inkBarGeometry = QRect(r.left(), r.bottom()-3, r.width(), 4); + _inkBarGeometry = QRect(r.left(), r.bottom()-1, r.width(), 2); } else { const qreal left = _previousGeometry.left()*s + r.left()*_tween; const qreal width = _previousGeometry.width()*s + r.width()*_tween; - _inkBarGeometry = QRect(left, r.bottom()-3, width, 4); + _inkBarGeometry = QRect(left, r.bottom()-1, width, 2); } update(); }