0

I need your help... I attached an image, I want that the right grid appears at the bottom, below of Estadisticas1, Estadisticas2, Estadisticas3, Estadisticas4 I tried a lot of ways, with GridData, FormLayout and no way! Also, I tried with setSize and setBounds and in no cases the size or position change, I don´t know why!

enter image description here

Rüdiger Herrmann
  • 20,512
  • 11
  • 62
  • 79
Monik Eliz
  • 107
  • 9

1 Answers1

0

There are many ways to do this depending on exactly what you want which you haven't really specified. For example:

public void createPartControl(final Composite parent)
{
  Composite body = new Composite(parent, SWT.NONE);

  body.setLayout(new FillLayout(SWT.VERTICAL));

  Composite topArea = new Composite(body, SWT.BORDER);

  // TODO add your 'EstadisticasX' controls to 'topArea'

  Composite bottomArea = new Composite(body, SWT.BORDER);

  // TODO add bottom grid to 'bottomArea'
}
greg-449
  • 109,219
  • 232
  • 102
  • 145