aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes unable to align the widgets (ListViewers and buttons) in a single row when constructing DualListBox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "unable to align the widgets (ListViewers and buttons) in a single row when constructing DualListBox" Watch "unable to align the widgets (ListViewers and buttons) in a single row when constructing DualListBox" New topic
Author

unable to align the widgets (ListViewers and buttons) in a single row when constructing DualListBox

sam mac
Greenhorn

Joined: Mar 23, 2011
Posts: 5
constructing duallistbox in java and need to align the list viewers & buttons appropriately.

The order is:

4 columns, availableListviewer -- addremove button -- selectedListviewer -- upbutton/downbutton

addremove buttons & updown buttons should be of smaller size & centrally aligned in the same row, while both the listviewers should be of same width.

can anyone guide me in setting the layout?
Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2215
    
    7
See A Visual Guide to Layout Managers. Maybe a horizontal BoxLayout would be a good place to start.
sam mac
Greenhorn

Joined: Mar 23, 2011
Posts: 5
application is rcp one and swt widgets. also the duallist control is in a new dialog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: unable to align the widgets (ListViewers and buttons) in a single row when constructing DualListBox