[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.1/kdepim/kalarm
From:       David Jarvie <software () astrojar ! org ! uk>
Date:       2008-10-31 21:50:36
Message-ID: 1225489836.585388.12779.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 878318 by djarvie:

Fix minimum size hint


 M  +1 -1      dialogscroll.h  


--- branches/KDE/4.1/kdepim/kalarm/dialogscroll.h #878317:878318
@@ -88,7 +88,7 @@
 	if (!widget())
 		return QSize();
 	QSize s = widget()->minimumSizeHint();
-	if (mMinHeight > 0)
+	if (mMinHeight > 0  &&  mMinHeight < s.height())
 		return QSize(s.width() + style()->pixelMetric(QStyle::PM_ScrollBarExtent), mMinHeight);
 	return s;
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic