Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Consistent sizing of widgets across windowing systems

You should summit this to the platform-ui-swt mailing list. Or better yet,
open a PR in bugzilla for SWT to investigate this issue - do not forget to
include the build you are using and the linux version & window manager, etc

Simon :-)



                                                                                                                        
                      Joe_Szurszewski@xxxxxx                                                                            
                      m                              To:      platform-ui-dev@xxxxxxxxxxx                               
                      Sent by:                       cc:                                                                
                      platform-ui-dev-admin@         Subject: [platform-ui-dev] Consistent sizing of widgets across     
                      eclipse.org                    windowing systems                                                  
                                                                                                                        
                                                                                                                        
                      01/14/2002 06:20 PM                                                                               
                      Please respond to                                                                                 
                      platform-ui-dev                                                                                   
                                                                                                                        
                                                                                                                        




I have a Dialog with a fair number of UI widgets.  As I've layed out the
contents of the Dialog, it looks good on Win32.  However, on Motif, several
widgets are lost off the bottom.  On inspection, it appears the problem is
that the height of the text widgets is a good bit taller than on Windows.
The funny thing is that text widgets on Motif look to be much larger than
necessary for the font in use.  In other words, there is lot more of a top
and bottom margin in text widgets on Motif than on Windows.  Is this a
problem with Motif?  If not, is there a way to get text widgets to size
more closely to the font size without having to create GridData objects for
each widget, and set the 'heightHint'?  More generally, are there any
strategies in SWT for ensuring similar layouts across windowing systems?

Thanks,
Joe





Back to the top