smallestReadableFont & QDockWidget

Pascal Létourneau pascal.letourneau at gmail.com
Thu Aug 30 22:34:55 BST 2007


On Thursday 30 August 2007 16:39:52 Thomas Zander wrote:
> On Thursday 30 August 2007 21:39:45 Pascal Létourneau wrote:
> > On Thursday 30 August 2007 15:14:40 Adam Treat wrote:
> > > On Thursday 30 August 2007, Pascal Létourneau wrote:
> > > > Hi
> > > >
> > > > The smallestReadableFont setting is apply blindly to every
> > > > QDockWidget (for example, the Folders panel in Dolphin)
> > > > I think it would be better if each app decides where it is
> > > > appropriate to use this setting
> > > >
> > > > Pascal Létourneau
> > >
> > > Why?
> > >
> > > I mean why can't we set the default font to be the smallest readable?
> > >  That seems obvious and sensible.
> > >
> > > Adam
> >
> > If I understand you correctly, you're against having a setting for a
> > smallestReadableFont?
>
> Hmm?  We already have such a setting.
Yes I know
> > There is cases where you may want a smaller-than-the-default font
> > (where the space is limited)
>
> The point of the smallestReadableFont is to set it to a size that you can
> still read; so nothing should make it smaller then that. And its user
> configurable so he can adjust it to fit his needs.
>
> > I'm just against having it applied across a whole range of widgets
>
> Having what applied?  The font that the user sets in the fonts kcm as the
> smallest readable font? Why?

It seems I wasn't clear enough in my original email
I just want to remove that line from kglobalsettings.cpp:

QApplication::setFont(smallestReadableFont(), "QDockWidget");

This is where the smallestReadableFont setting is applied to all QDockWidget

Pascal Létourneau




More information about the kde-core-devel mailing list