Table selection issue [message #1016441] |
Wed, 06 March 2013 08:20  |
Eclipse User |
|
|
|
In a particular scenario when the vertical scrollbar for table is enabled and visible, the selection item's getBounds method returns wrong values.
Steps to reproduce :
1. Replace the TableTab in the demo controls with the TableTab attached.
2. I have modified code such that when a row is double clicked, a text editor opens. The bounds of the editor are set using the bounds of the item.
3. Run the demo. Check the following for the table in the UI : 'BORDER' and 'linesVisible'
4. Change the table size (reduce it) so that the vertical scrollbar is visible.
5. Now scroll to the last item and adjust the table size such that there's exactly space of another row left after the last row. (Refer attached image)
6. Double click on the item. The editor is opened at the wrong position (in the empty space below the last row).
7. Now readjust the table size so that there's no space after the last row, double click the last row now. The editor comes up at the right position.
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03651 seconds