Bug 69822 - Changing widget style make desktop bar to small
Summary: Changing widget style make desktop bar to small
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kstyle (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Karol Szwed
URL:
Keywords:
: 72462 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-12-07 23:52 UTC by Claudiu Costin
Modified: 2004-01-14 23:16 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Desktop menu bar is too small (4.22 KB, image/png)
2003-12-07 23:54 UTC, Claudiu Costin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Claudiu Costin 2003-12-07 23:52:42 UTC
Version:           v1.9.8 (using KDE 3.1.94 (3.2 Beta 2), compiled sources)
Compiler:          gcc version 2.95.4 20011002 (Debian prerelease)
OS:          Linux (i686) release 2.4.18-k7

When I changed the style from Plastik to dotNet,
the desktop menubar is to small in height.

The menubar is for Konsole. When I change focus to other apps, it will show normal. But swithing back
to konsole will make it small again, cropping 
bottoms menu names font.
Comment 1 Claudiu Costin 2003-12-07 23:54:06 UTC
Created attachment 3605 [details]
Desktop menu bar is too small
Comment 2 Maksim Orlovich 2004-01-12 17:41:39 UTC
*** Bug 72462 has been marked as a duplicate of this bug. ***
Comment 3 Sandro Giessl 2004-01-14 23:16:14 UTC
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())