[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Size control in KStyles
From:       mosfet <mosfet () mandrakesoft ! com>
Date:       2000-05-24 0:22:26
[Download RAW message or body]

Kurt Granroth wrote:
> 
> Hummel, Timo wrote:
> > I just started hacking another KStyle and I was wondering how the
> > size of the different objects can be controlled. For example, the
> > menu bar is real thick, I want to make it thinner. The same goes for
> > the Buttons and other controls. How can I do this?
> 
> That's very difficult.  The size of the controls is actually set *not*
> in the styles code.  For instance, the menubar size is set somewhere
> in QMenuBar (not even KMenuBar).

This is true and makes things awkward. We may be able to override it if
a KStyle is allocated in polish tho with minimum and maximum size
hints... I'll check it out once the bazillion other features I want are
done ;-) Depends on how QMenuBar handles it's layout I guess.

> --
> Kurt Granroth            | http://www.granroth.org
> KDE Developer/Evangelist | SuSE Labs Open Source Developer
> granroth@kde.org         | granroth@suse.com
>            KDE -- Putting a Friendly Face on Unix

-- 
Daniel M. Duley - Unix developer & sys admin.
http://www.mosfet.org - The place for KDE development news.
mosfet@mandrakesoft.com
mosfet@kde.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic