• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Rancher
Posts: 3324
32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
application is rcp one and swt widgets. also the duallist control is in a new dialog
reply
    Bookmark Topic Watch Topic
  • New Topic