Luxor SWT Layout Package Now Live

Gerald Bauer <[email protected]>
Newsgroups gmane.comp.lang.xul.announce
Message-ID <[email protected]>
Hi,

  I've uploaded the Luxor SWT Layout package that
shows you how to turn SWT layout managers such as
FillLayout, GridLayout and others into easy-to-use XUL
tags that you can use in addition to the built-in XUL
box layout system.

  This preview includes XUL tags for 

  * FillLayout
  * RowLayout
  * GridLayout
  * SashForm
 
  Here are some examples to see what's it all about:

 FillLayout In Action
 --------------------

The FillLayout is mapped to the <fillbox> tag and you
can use it like any other XUL box. Example:

  <fillbox>
     <label value="Instructions:" />
     <label value="1. Fill in your name" />
     <label value="2. Fill in your age" />
     <label value="3. Fill in your gender" />
     <label value="4. Check the box for employment" />
     <label value="5. Click on OK" />
  </fillbox>


 GridLayout In Action
 --------------------

The GridLayout is mapped to the <gridbag> tag and the
GridData is mapped to the <griddata> tag. Example:

  <gridbag columns="3">
     <button label="B1" />
     <button label="Wide Button 2" />
     <griddata rowspan="2" fill="MAX">
        <button label="Button 3" />
     </griddata>              
     <button label="B4" />
     <button label="Button 5" />
  </gridbag>


 SashForm In Action
 ------------------

 The SashForm is mapped to the <splitbox> tag.
Example:

  <splitbox id="splitbox3">
    <button label="One" />
    <button label="Two" />
    <splitbox orient="vert">
      <button label="One" />
      <button label="Two" />
      <button label="Three" />
    </splitbox>
  </splitbox>

  and so on and so forth


  You can grab a copy a the luxor-contrib site @
http://sourceforge.net/project/showfiles.php?group_id=64067
(look for the swt-layout) package.

  Enjoy.

  - Gerald

PS: For more info check out the Luxor Website @
http://luxor-xul.sourceforge.net

If you want to discuss the Luxor SWT package please
join the luxor-xul-user mailinglist @
http://lists.sourceforge.net/lists/listinfo/luxor-xul-user

For more info about SWT (Standard Widget Toolkit)
check out the website @ http://www.eclipse.org/swt


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.