|Strange Behaviour on Table Horizontal Scroll [message #467701]
||Fri, 03 February 2006 22:38
| Eddie Atherton
Registered: July 2009
I've built a Table, with the following options: SWT.BORDER ||
SWT.V_SCROLL | SWT.H_SCROLL.
Everything seems to work OK. I put items in the Table that cause the
Horizontal Scroll to appear, and function. Following this, I do a
Table.removeAll() and repopulate the data.
What happens now, is that even if the "new" data is small enough to
fit without needing a Horizontal Scroll bar, the Table still
"remembers" that it has one, and never removes it. In fact, even if I
just removeAll() and don't add any more items, the Scroll bar remains.
This only affects the Horizontal Scroll. The Vertical is working
exactly as I would expect.
I tried to change the program to use a List instead of a Table (I only
have one column), and the Scrolling works correctly there, but I have
other issues with Right Click/Tap'n'Hold selections on a List.
Powered by FUDForum
. Page generated in 0.03662 seconds