Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Table width
Table width [message #263398] Tue, 19 August 2008 10:07 Go to next message
saurav sarkar is currently offline saurav sarkar
Messages: 424
Registered: July 2009
Senior Member
Hi All,

I have an problem with Rendering of tables.I am using tablecolumnlayout.I
am using ColumnWeight for the Column sizes.P
I am using this table in a tabbed property sheet page.I have set the Grid
Data to the FILL_HORIZANTAL.Problem with this each time the tab is
refreshed or switched back the tab increases it size.

So if i specify the width to some value,it works.But the layout would be
hampered in the case of resoulution changes.
Please help me to solve this problem.

Thanks and Regards,
Saurav


Re: Table width [message #263401 is a reply to message #263398] Tue, 19 August 2008 10:13 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5259
Registered: July 2009
Senior Member
This is a known issue [1] but I haven't had time to fix it. If you want
a fix to get in (maybe in 3.4.1) I'd be happy if you provide a patch.
The algorithm which should be used is described in the comments.

Tom

[1]https://bugs.eclipse.org/bugs/show_bug.cgi?id=215997

saurav schrieb:
> Hi All,
>
> I have an problem with Rendering of tables.I am using
> tablecolumnlayout.I am using ColumnWeight for the Column sizes.P
> I am using this table in a tabbed property sheet page.I have set the
> Grid Data to the FILL_HORIZANTAL.Problem with this each time the tab is
> refreshed or switched back the tab increases it size.
>
> So if i specify the width to some value,it works.But the layout would be
> hampered in the case of resoulution changes.
> Please help me to solve this problem.
>
> Thanks and Regards,
> Saurav
>


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Re: Table width [message #263403 is a reply to message #263401] Tue, 19 August 2008 10:26 Go to previous message
saurav sarkar is currently offline saurav sarkar
Messages: 424
Registered: July 2009
Senior Member
Hi Tom,

many thanks for the reply.Is it also true that if we use GridLayout and
Grid Data for the table.SWT introduces unnecessary an extra column to the
table?


Previous Topic:Eclipse + Zend on Ubuntu
Next Topic:Existing Project in C/C++
Goto Forum:
  


Current Time: Thu Jul 31 09:42:12 EDT 2014

Powered by FUDForum. Page generated in 0.01770 seconds