|
|
Re: Problem with too many columns in table [message #436322 is a reply to message #436321] |
Mon, 17 May 2004 15:32 |
exquisitus Messages: 211 Registered: July 2009 |
Senior Member |
|
|
Hi!
Thank you, Robert. I'm on WinXP - is there a way to surpress this behaviour?
Ciao,
Exquisitus
"Robert Bacs" <boby@zerosoft.ro> schrieb im Newsbeitrag
news:c8algq$dbr$1@eclipse.org...
> Hi,
>
> This behavior is platform specific.
>
> Boby
>
> "exquisitus" <banshee@wudu.de> wrote in message
> news:c8aidb$8p9$1@eclipse.org...
> > Hiho,
> >
> > I've written a WizardPage containing a table. The table should only have
> one
> > column. The problem is that there's always one column auto-generated
after
> > the column ('user-id') I've created. It's the same when I create two
> columns
> > within my code - three columns are displayed!!
> >
> > Here's the code I use too create the table:
> >
> > start of code:
> > >>>
> > Composite tContainer = new Composite(aParent, SWT.NULL);
> > GridLayout tLayout = new GridLayout(2, false);
> > tLayout.verticalSpacing = 12;
> > tLayout.horizontalSpacing = 12;
> > tContainer.setLayout(tLayout);
> > tContainer.layout();
> > iTable = new Table(tContainer, SWT.HIDE_SELECTION);
> > GridData tTableData = new GridData();
> > tTableData.grabExcessHorizontalSpace = true;
> > tTableData.horizontalAlignment = GridData.FILL;
> > tTableData.horizontalSpan=2;
> > iTable.setLayoutData(tTableData);
> > iTable.setHeaderVisible(true);
> > iTable.setLinesVisible(true);
> > iColumn = new TableColumn(iUserUnitPositionsTable, SWT.LEFT, 0);
> > iColumn.setText("Column 1");
> > <<<
> > end of code.
> >
> > The problem seems to be that the table creates another column to fill
the
> > gap between the table and the WizardPage's right border. How can I
supress
> > this additional column? I checked the Eclipse-API but found nothing that
> > helped.
> >
> >
>
>
|
|
|
Re: Problem with too many columns in table [message #436378 is a reply to message #436322] |
Tue, 18 May 2004 09:03 |
Robert Bacs Messages: 165 Registered: July 2009 |
Senior Member |
|
|
Hi,
No, there is no way to supress this behaviour !
Boby
"exquisitus" <banshee@wudu.de> wrote in message
news:c8aln3$dlk$1@eclipse.org...
> Hi!
>
> Thank you, Robert. I'm on WinXP - is there a way to surpress this
behaviour?
>
> Ciao,
> Exquisitus
>
>
> "Robert Bacs" <boby@zerosoft.ro> schrieb im Newsbeitrag
> news:c8algq$dbr$1@eclipse.org...
> > Hi,
> >
> > This behavior is platform specific.
> >
> > Boby
> >
> > "exquisitus" <banshee@wudu.de> wrote in message
> > news:c8aidb$8p9$1@eclipse.org...
> > > Hiho,
> > >
> > > I've written a WizardPage containing a table. The table should only
have
> > one
> > > column. The problem is that there's always one column auto-generated
> after
> > > the column ('user-id') I've created. It's the same when I create two
> > columns
> > > within my code - three columns are displayed!!
> > >
> > > Here's the code I use too create the table:
> > >
> > > start of code:
> > > >>>
> > > Composite tContainer = new Composite(aParent, SWT.NULL);
> > > GridLayout tLayout = new GridLayout(2, false);
> > > tLayout.verticalSpacing = 12;
> > > tLayout.horizontalSpacing = 12;
> > > tContainer.setLayout(tLayout);
> > > tContainer.layout();
> > > iTable = new Table(tContainer, SWT.HIDE_SELECTION);
> > > GridData tTableData = new GridData();
> > > tTableData.grabExcessHorizontalSpace = true;
> > > tTableData.horizontalAlignment = GridData.FILL;
> > > tTableData.horizontalSpan=2;
> > > iTable.setLayoutData(tTableData);
> > > iTable.setHeaderVisible(true);
> > > iTable.setLinesVisible(true);
> > > iColumn = new TableColumn(iUserUnitPositionsTable, SWT.LEFT, 0);
> > > iColumn.setText("Column 1");
> > > <<<
> > > end of code.
> > >
> > > The problem seems to be that the table creates another column to fill
> the
> > > gap between the table and the WizardPage's right border. How can I
> supress
> > > this additional column? I checked the Eclipse-API but found nothing
that
> > > helped.
> > >
> > >
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03513 seconds