[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: showColumn() bug?

Hi Tim,

I've logged https://bugs.eclipse.org/bugs/show_bug.cgi?id=112463 , and tried
to add you as a CC but couldn't because bugzilla did not know of your email
address.  Interestingly I see the opposite problem to what you describe (my
snippet shows it failing when the column's LEFT edge is out of view).  I
added a second comment to the report specifying that both cases should be
checked.

Regarding workarounds, I can make my snippet in the bug report show column 2
by first showing column 1 and then column 2 (so just add
"tree.showColumn(column1);" as the first line in the Button selection
listener).  On win2000 this did not show any extra flash for me.  It's just
an idea, as I can't think of any other workarounds at the moment.

Grant


"Tim Shelley" <tim_j_shelley@xxxxxxxxxxx> wrote in message
news:dile7g$jn0$1@xxxxxxxxxxxxxxxxxxx
> Hi,
>
> I have a tree with treecolumns. The width of the tree often means some of
> the treecolumns appear offscreen, outside of the client area.
>
> I've tried to use showColumn() but it seems to have a bug that makes it
> difficult for cell editing where you want the column to be fully visible.
If
> the columns left edge appears off screen it scrolls correctly and makes
this
> column fully visible. If a columns left edge appears on the screen, but
its
> right edge is off the screen, it thinks the column is visible and does not
> scroll to it (even though there may be only a few pixels of the column on
> screen).
>
> I cannot extend the Tree class and there seems no way to work around this
> problem because the scrolling functionality of Tree seems to be all
private
> or package local.
>
> Is there a work around for this problem?
>
> Regards,
>
> Tim.
>
>