Fedrick Kenan
Fedrick Kenan

Reputation: 31

Does SWT FillLayout support laying controls of uneven width horizontally?

I would like to build a horizontal buttonbar using FillLayout. However, the layout displays the buttons with even width. I know that I can use GridLayout to accomplish my goal. However, I would like to know if the FillLayout can achieve the same.

Upvotes: 0

Views: 76

Answers (1)

greg-449
greg-449

Reputation: 111217

The FillLayout JavaDoc says:

FillLayout is the simplest layout class. It lays out controls in a single row or column, forcing them to be the same size.

Upvotes: 2

Related Questions