Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] How to use x/y layout?

Just don't specify a layout, and use Control.setBounds() to place each
widget.  See
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/snippits/snippet59.html

as an example; most of the swt example snippets use this approach.

Grant



|---------+---------------------------------->
|         |           netizen                |
|         |           <netizen.mail@xxxxxxxxx|
|         |           >                      |
|         |           Sent by:               |
|         |           platform-swt-dev-admin@|
|         |           eclipse.org            |
|         |                                  |
|         |                                  |
|         |           12/06/2002 02:00 AM    |
|         |           Please respond to      |
|         |           platform-swt-dev       |
|         |                                  |
|---------+---------------------------------->
  >----------------------------------------------------------------------------------------------------------|
  |                                                                                                          |
  |        To:      platform-swt-dev@xxxxxxxxxxx                                                             |
  |        cc:                                                                                               |
  |        Subject: [platform-swt-dev] How to use x/y layout?                                                |
  >----------------------------------------------------------------------------------------------------------|



Hello platform-swt-dev,

  I've been looking for a sample on how to use the x-y layout.
  Is this possible in SWT?  In swing you just setLayout( null ).
  Is it the same for SWT?

  Thanks

--
Best regards,
 netizen                          mailto:netizen.mail@xxxxxxxxx


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






Back to the top