Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SWT: How to create a Group without border?

Tags:

swt

I'm creating a login form with some labels, text inputs, and a button. I put them in a Group, but I don't want to have the border of the group displayed. Is there any way to remove/hide it?

Should I be using other Composite than Group?

like image 952
Mitja Avatar asked Jul 28 '09 14:07

Mitja


1 Answers

I don't think you can create a Group without a border. However, you could use the base Composite class to group your widgets without a border. Here's an example of using a Composite.

If your login form consists of its own Shell (i.e. window), then you could potentially layout your widgets in the Shell without using a Composite within the Shell.

like image 133
bporter Avatar answered Oct 13 '22 23:10

bporter