[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 70550] Panel background image default.png tiled incorrectly
From: John Firebaugh <jfirebaugh () kde ! org>
Date: 2004-04-01 1:44:03
Message-ID: 20040401014403.22827.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=70550
jfirebaugh kde org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From jfirebaugh kde org 2004-04-01 03:43 -------
CVS commit by firebaugh:
Use the preexisting methods for scaling width or height.
CCMAIL: 70550-done bugs kde org
M +2 -4 containerarea.cpp 1.170
--- kdebase/kicker/core/containerarea.cpp #1.169:1.170
@ -1250,11 +1250,9 @ void ContainerArea::setBackgroundTheme()
}
- int height = (int)ceil(bgImage.height() * ((double)size().width() / \
(double)bgImage.width()));
- bgImage = bgImage.smoothScale(size().width(), height);
+ bgImage = bgImage.scaleWidth( size().width() );
}
else
{
- int width = (int)ceil(bgImage.width() * ((double)size().height() / \
(double)bgImage.height()));
- bgImage = bgImage.smoothScale(width, size().height());
+ bgImage = bgImage.scaleHeight( size().height() );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic