swt add widgets towards right in formLayout <p>Here is my code:</p> <pre><code>Composite outer = new Composite(parent, SWT.BORDER); outer.setBackground(new Color(null, 207, 255, 206)); // Green FormLayout formLayout = new FormLayout(); formLayout.marginHeight = 5; formLayout.marginWidth = 5; formLayout.spacing = 5; outer.setLayout(formLayout); //TOP Composite Top = new Composite(outer, SWT.BORDER); Top.setLayout(new GridLayout()); Top.setBackground(new Color(null, 232, 223, 255)); // Blue FormData fData = new FormData(); fData.top = new FormAttachment(0); fData.left = new FormAttachment(0); fData.right = new FormAttachment(100); // Locks on 10% of the view fData.bottom = new FormAttachment(20); Top.setLayoutData(fData); //BOTTOM Composite Bottom = new Composite(outer, SWT.BORDER); Bottom.setLayout(fillLayout); Bottom.setBackground(new Color(null, 255, 235, 223)); // Orange fData = new FormData(); fData.top = new FormAttachment(20); fData.left = new FormAttachment(0); fData.right = new FormAttachment(100); fData.bottom = new FormAttachment(100); Bottom.setLayoutData(fData); </code></pre> <p>I just wanted to add widgets for example label images to the right of the "TOP" composite layout. Since i am new to swt, am facing difficulty to align all the label to right of it. How could i achieve this ?</p>