Abhishek Choudhary
Abhishek Choudhary

Reputation: 8385

Is there anything like BOXLAYOUT in SWT Eclipse

I need to arrange Component One below other like Swing's BoxLayout Y axis scenario . I thought of using Gridlayout inside Gridlayout , but is there any better option. I have already 4 columns and inside each Column I need to add different elements Y-axis based

Upvotes: 0

Views: 659

Answers (1)

Favonius
Favonius

Reputation: 13974

Yes, Use RowLayout. You will find more on this here. If you don't want wrapping of your controls (behavior of Swing's BoxLayout) then you could use FillLayout as it lays out equal-sized widgets in a single row or column.

Upvotes: 1

Related Questions