From 31fed261955dcb25d06052a8154ac4cc630b0f7d Mon Sep 17 00:00:00 2001 From: zautrix Date: Fri, 10 Jun 2005 13:54:08 +0000 Subject: fixxx --- (limited to 'microkde') diff --git a/microkde/kcolorbutton.cpp b/microkde/kcolorbutton.cpp index c7c6088..96dc256 100644 --- a/microkde/kcolorbutton.cpp +++ b/microkde/kcolorbutton.cpp @@ -32,7 +32,7 @@ void KColorButton:: edit() KColorButton::KColorButton( QWidget *p ):QPushButton( p ) { int size = 24; - if( QApplication::desktop()->width() < 480 ) + if( QApplication::desktop()->width() < 480 || QApplication::desktop()->height() <= 320 ) size = 18; setFixedSize( size,size ); connect ( this, SIGNAL( clicked() ), this ,SLOT (edit() )); -- cgit v0.9.0.2