1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
listeUtilisateurs = new Composite(content, SWT.BORDER);
GridLayout layout = new GridLayout();
layout.numColumns = 1;
listeUtilisateurs.setLayout(layout);
listeUtilisateurs.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));
listeUtilisateurs.setSize(1000, 800);
table = new Table(listeUtilisateurs, SWT.MULTI | SWT.BORDER | SWT.FULL_SELECTION);
table.showSelection();
table.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));
//table.setLayoutData(new RowData(width-30, height-80));
table.setLinesVisible(true);
table.setHeaderVisible(true);
// Colonnes
TableColumn column;
column = new TableColumn(table, SWT.NONE);
column.setText("Numéro membre :");
//column.setWidth(200); |
Partager