|Limitation of SWT.MeasureItem for SWT tables resizing ? [message #774999]
||Thu, 05 January 2012 04:50
| Jagruth P
Registered: December 2011
In the following article - http://www.eclipse.org/articles/article.php?file=Article-CustomDrawingTableAndTreeItems/index.html , Three constraints were given ,
" Note that attempts to change a cell's width or height in SWT.MeasureItem events are subject to the following constraints:
1) As of Eclipse 3.2 cell heights are not allowed to shrink, only to grow.
2)All items in a table have the same height, so increasing the height of a cell will result in the height of all items in the table growing accordingly.
3)If the cell is within a table column then its width is determined by the column's width. However, the SWT.MeasureItem event's width field should still always be set to the cell's desired content width because this value will be used if the table has no columns or if its column is being packed."
Can some one please tell me whether any advancements/bug fixes/updates have been made recently that can overcome the first and second constraints ??
[Updated on: Thu, 05 January 2012 06:18]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01999 seconds