--nextPart1272155.FR7kSG8SEA Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 04 May 2007 09:20:41 Peter Simonsson wrote: > 2007/5/3, Robert Knight : > > SVN commit 660806 by knight: > > > > Fix the miniscule dock widget fonts. Please shout if this solution is > > incorrect. > > > > M +4 -4 KoMainWindow.cpp > > > > > > --- trunk/koffice/libs/kofficecore/KoMainWindow.cpp #660805:660806 > > @@ -1787,12 +1787,12 @@ > > > > KConfigGroup group( KGlobal::config(), "GUI" ); > > QFont f =3D KGlobalSettings::generalFont(); > > - double ps =3D qMin(9.0, f.pointSize() * 0.8); > > - ps =3D group.readEntry("palettefontsize", ps); > > - if (ps < 6) ps =3D 6; > > + double ps =3D group.readEntry("palettefontsize", f.pointSize()); > > + ps =3D qMax(8.0 , ps); > > + f.setPointSizeF(ps); > > > > - f.setPointSize(6); > > dockWidget->setFont(f); > > + > > return dockWidget; > > } > > I don't see the point in setting a max size as you removed the > manipulation of the default font... And I'd like to propose to use KGlobalSettings::toolBarFont() as default an= d=20 drop any altering of the read-in font size. It's a configure setting: If=20 anyone considers the font too big/tiny, he should change it in the rc file. Regards, Stefan --nextPart1272155.FR7kSG8SEA Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBGOuGOA+t25AHg4rERAmo0AJ9OJ3vj6z8QBEDxQmF6W+ykusFkIACfc3rz fTsqeABXDX8BlNtvgauQszE= =Vi1W -----END PGP SIGNATURE----- --nextPart1272155.FR7kSG8SEA--