Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] [Cross-post] Control inherits parent's font

I believe that this would actually break a heck of a lot of OS settings on
most platforms. The best an OS will give SWT is a default UI font - this is
far too general in most cases. Individual OS's may give more information
than this but this is all they can get consistently.

Frustration with the small range of font settings provided by the OS
prompted the JFace team to add the dialog font which we have now exposed in
the UI. This font is only meant to be used in dialogs, not in windows or
views which tend to have better fonts inhertied from the OS.

Using windows as an example there are already fairly rich font settings
provided by the OS for windows (look in Properties->Appearance on your
desktop) but no such support is provided for dialogs (they use the message
box font everywhere by default).

Context is important here and SWT is at too low of a level to be able to
determine this. By the way Sebastian thanks for all of your input on this -
I haven't looked at your suggested patches yet but it is really great that
you took a stab at this.

Tod



                                                                                                                           
                      sdavids@xxxxxx                                                                                       
                      Sent by:                       To:      platform-ui-dev@xxxxxxxxxxx, pde-ui-dev@xxxxxxxxxxx,         
                      platform-ui-dev-admin@         jdt-ui-dev@xxxxxxxxxxx                                                
                      eclipse.org                    cc:                                                                   
                                                     Subject: [platform-ui-dev] [Cross-post] Control inherits parent's     
                                                     font                                                                  
                      11/29/2002 10:38 AM                                                                                  
                      Please respond to                                                                                    
                      platform-ui-dev                                                                                      
                                                                                                                           
                                                                                                                           



Please take a look at bug 27386 (A Control should inherit the font of its
parent).

This might impact the entire UI -- except Controls on which setFont() has
been called.

--
>>[ Sebastian Davids - Email: <sdavids@xxxxxx> ICQ: 2267
6231 ]<<
>>[ PGP-FP: 0DF6 5D15 6B32 683D 9CC7 287D 4744 D881 B284
04FE ]<<

+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!

_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ui-dev






Back to the top