• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
sam mac
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2565
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See A Visual Guide to Layout Managers. Maybe a horizontal BoxLayout would be a good place to start.
 
sam mac
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
application is rcp one and swt widgets. also the duallist control is in a new dialog
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic