From fef6e1cef18972f77d33c334af5e723d0d7c9b10 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Fri, 4 Sep 2020 07:39:52 +0200 Subject: [PATCH] using width/height --- src/controls/QskTabBar.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/controls/QskTabBar.cpp b/src/controls/QskTabBar.cpp index 5c498f34..8f9daeb9 100644 --- a/src/controls/QskTabBar.cpp +++ b/src/controls/QskTabBar.cpp @@ -193,8 +193,7 @@ namespace translateButtonBox(); - setClip( size().width() < boxSize.width() - || size().height() < boxSize.height() ); + setClip( width() < boxSize.width() || height() < boxSize.height() ); } QSizeF layoutSizeHint( Qt::SizeHint which, const QSizeF& constraint ) const override