From faf7441b78dfc293f1dea1edebc202244fc3a1cf Mon Sep 17 00:00:00 2001 From: drw Date: Mon, 20 Dec 2004 23:49:31 +0000 Subject: Fix sizing of battery status popup window to prevent truncation of battery info --- (limited to 'core/applets') diff --git a/core/applets/batteryapplet/batterystatus.cpp b/core/applets/batteryapplet/batterystatus.cpp index f27543c..addb517 100644 --- a/core/applets/batteryapplet/batterystatus.cpp +++ b/core/applets/batteryapplet/batterystatus.cpp @@ -255,8 +255,8 @@ QSize BatteryStatus::sizeHint() const { if ( bat2 ) { return QSize( QMAX( QMIN( 200, qApp->desktop()->width() ), - r.width() ), 2 * 10 + 80 + r.height() + r2.height() ); + r.width()+2*10 ), 2 * 10 + 80 + r.height() + r2.height() ); } return QSize( QMAX( QMIN( 200, qApp->desktop()->width() ), - r.width() ), 2 * 10 + 40 + r.height() ); + r.width()+2*10 ), 2 * 10 + 40 + r.height() ); } -- cgit v0.9.0.2