Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Strange Behaviour on Table Horizontal Scroll
Strange Behaviour on Table Horizontal Scroll [message #467701] Fri, 03 February 2006 22:38
Eddie Atherton is currently offline Eddie AthertonFriend
Messages: 8
Registered: July 2009
Junior Member
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.

Can't win.

Cheers,
Eddie
Previous Topic:Help understanding Printer and "trim"
Next Topic:Right Click or Tap'n'Hold Selection in a List
Goto Forum:
  


Current Time: Thu Apr 25 11:36:24 GMT 2024

Powered by FUDForum. Page generated in 0.03024 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top