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

List:       kde-commits
Subject:    KDE/kdelibs/kdeui/fonts
From:       Frerich Raabe <raabe () kde ! org>
Date:       2007-10-31 0:18:46
Message-ID: 1193789926.314798.25727.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 731224 by raabe:

- Use some maximum font size for the slider; it defaults to INT_MAX so
  moving the slider just a little bit immediately resulted in insane font
  sizes (which in fact, for some reason, made my font dialog window a few
  thousand pixels wide).

  I'm sure everybody has an opinion on what the maximum size selectable via
  the slider should be. I chose 128.


 M  +1 -0      kfontchooser.cpp  


--- trunk/KDE/kdelibs/kdeui/fonts/kfontchooser.cpp #731223:731224
@@ -289,6 +289,7 @@
     d->sizeListBox->setObjectName("sizeListBox");
     d->sizeOfFont = new KIntNumInput( page); // "sizeOfFont");
     d->sizeOfFont->setMinimum(4);
+    d->sizeOfFont->setMaximum(128);
 
     d->sizeListBox->setEnabled( flags ^ ShowDifferences );
     d->sizeOfFont->setEnabled( flags ^ ShowDifferences );
[prev in list] [next in list] [prev in thread] [next in thread] 

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