Summary: | Splash Screen Display Problems With 100 Or More Files | ||
---|---|---|---|
Product: | [Applications] juk | Reporter: | davidsmind |
Component: | general | Assignee: | Scott Wheeler <wheeler> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | A picture of said bug |
Description
davidsmind
2003-04-01 07:44:25 UTC
Subject: Re: Splash Screen Display Problems With 100 Or More Files Hmm. I can't seem to get that here. Could you possibly send a screen shot? I can't get it either, and I have 2640-odd files - are you using an unusual font? Created attachment 1287 [details]
A picture of said bug
My Font is Trubuchet MS, a True Type font I believe.
Subject: kdemultimedia/juk CVS commit by wheeler: Heh, found it! I had all of the logic in there to ensure that the label was wide enough, but sadly was applying it to the wrong label. ;-) CCMAIL:56687-done@bugs.kde.org M +1 -1 splashscreen.cpp 1.8 --- kdemultimedia/juk/splashscreen.cpp #1.7:1.8 @@ -83,9 +83,9 @@ SplashScreen::SplashScreen() : QHBox(0 , QLabel *textLabel = new QLabel(i18n("Items loaded:"), this); textLabel->setFont(font); - textLabel->setMinimumWidth(textLabel->fontMetrics().width("00000")); m_countLabel = new QLabel(this); m_countLabel->setText(QString::number(count)); m_countLabel->setFont(font); + m_countLabel->setMinimumWidth(m_countLabel->fontMetrics().width("00000")); setMaximumWidth(iconLabel->width() + textLabel->width() + m_countLabel->width() + 10); Subject: Re: Ok, I just closed this because I'm pretty sure I spotted it and fixed it. If you're running HEAD can you give it a try? Otherwise I can send you a patch againt 1.1. Thank you for the prompt bug-busting! |