• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. SWT Layouts > Creating Vertical Rows

9.8. Creating Vertical Rows

Although the default for RowLayout is to create horizontal rows, you can also create vertical rows when necessary.

9.8.1. How do I do that?

To create a vertical RowLayout, you simply pass the RowLayout constructor the SWT.VERTICAL style when you create an instance of the RowLayout class:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint