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

List:       kde-commits
Subject:    koffice/kugar/kudesigner_lib
From:       Adam Treat <treat () kde ! org>
Date:       2005-08-31 21:07:35
Message-ID: 1125522455.581907.15854.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 455563 by treat:

* Default font family and size mirrors the application font.

 M  +2 -2      label.cpp  


--- trunk/koffice/kugar/kudesigner_lib/label.cpp #455562:455563
@@ -69,9 +69,9 @@
 
 
     props.setGroupDescription( "Font", i18n( "Font" ) );
-    props.addProperty( new Property( "FontFamily", QFont( "Times New Roman" ), i18n( \
"Family" ), i18n( "Font Family" ), KoProperty::Font ), "Font" ); +    \
props.addProperty( new Property( "FontFamily", QApplication::font(), i18n( "Family" \
), i18n( "Font Family" ), KoProperty::Font ), "Font" );  
-    props.addProperty( new Property( "FontSize", 12, i18n( "Size" ), i18n( "Font \
Size" ), KoProperty::Integer ), "Font" ); +    props.addProperty( new Property( \
"FontSize", QApplication::font().pointSize(), i18n( "Size" ), i18n( "Font Size" ), \
KoProperty::Integer ), "Font" );  
     m[ i18n( "Light" ) ] = "25";
     m[ i18n( "Normal" ) ] = "50";


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

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