Summary: | Changing widget style make desktop bar to small | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kdelibs | Reporter: | Claudiu Costin <claudiuc> |
Component: | kstyle | Assignee: | Karol Szwed <gallium> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | l.lunak, sgiessl, steve |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Desktop menu bar is too small |
Description
Claudiu Costin
2003-12-07 23:52:42 UTC
Created attachment 3605 [details]
Desktop menu bar is too small
*** Bug 72462 has been marked as a duplicate of this bug. *** Subject: kdeartwork/styles/plastik CVS commit by giessl: Fix 69822 by removing CT_MenuBar. Thanks clee! CCMAIL: 69822-done@bugs.kde.org M +0 -13 plastik.cpp 1.29 --- kdeartwork/styles/plastik/plastik.cpp #1.28:1.29 @@ -2829,17 +2829,4 @@ QSize PlastikStyle::sizeFromContents(Con { switch (t) { - case CT_MenuBar: { - const QMenuBar *mb = (const QMenuBar *)widget; - int w, h; - { - h = QFontInfo(mb->font()).pixelSize() + 4; - w = 10; - } - - return QSize(w, h); - - break; - } - case CT_PopupMenuItem: { if (!widget || opt.isDefault()) |