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

List:       koffice-devel
Subject:    Re: [PATCH] KWord: ruler's new look
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2005-05-25 9:18:58
Message-ID: 42944302.8070301 () iidea ! pl
[Download RAW message or body]

Boudewijn Rempt said the following, On 2005-05-23 09:47:

> Currenly I use the following code to make sure there's a size difference 
> between the regular and the palette font:
> 
>  m_font = KGlobalSettings::toolBarFont();
>  QFont f2 = KGlobalSettings::generalFont();
>  if (m_font.pointSize() >= f2.pointSize() ) {
>   float ps = f2.pointSize() * 0.8;
>   m_font.setPointSize((int)ps);
>  }

Heh. I've encountered similar problem in Kexi's property editor 
(KexiMainWindowImpl::initPropertyEditor()). We wanted the font to be "minimal 
readable".

http://www.kexi-project.org/pics/0.9/forms_properties.png

I am scaling using pixelSize(), not pointSize() since the latter is not 
portable between different screen sizes. I am storing the setting in kexi's rc 
file.

My hope is that one day we can have "minimal readable" font setting as global 
KDE setting.

Regarding Krita:  I can see it has problems with too many tabs in its dock 
windows. What about reusing property editor for most settings there? 
(KProperty lib will be available for such purposes, with custom editors, 
including sliders).

-- 
regards / pozdrawiam,
  Jaroslaw Staniek / OpenOffice Polska / Kexi Team
  http://www.openoffice.com.pl  |  http://www.kexi-project.org
  KDElibs/Windows: http://wiki.kde.org/tiki-index.php?page=KDElibs+for+win32
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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