Home » Eclipse Projects » JFace » tree viewer, cell multi selection not highlighted.
tree viewer, cell multi selection not highlighted. [message #786422] |
Mon, 30 January 2012 12:01 |
Christophe Bouhier Messages: 937 Registered: July 2009 |
Senior Member |
|
|
Hi,
On MacOSX Lion, when I enable cell navigation. (From Snippet058CellNavigationIn34 ),
highlighting of non focus, but selected cells is not as expected. In the attached screenshot,
I am selecting multiple cells in column 0. The selection starts at the row named "SCTP".
What I observe:
- The selection is there, as I do get the multiple selected items.
- The highlighting is in background white, only for the text bounds of the cell.
- The foreground seems to be white as well, as the collapse/expand triangle is not visible for the row named "SCTP". (Note: I Use a StyleCellLabelProvider for the label and images).
What I would expect, is the multiple selection to be at least visible, I guess it can't be the same color as the selection of the focused cell, but a reasonable default should be to make clear it's selected.
What I would like, is to keep the default selection color, even for the focus cell, but then have the focus cell draw a dotted line or thicker border around the focus cell.
For the latter, I could implement my own FocusCellOwnerDrawHighlighter and re-implement markFocusedCell.
How do I change the multi-selection highlighting color to non-white?
Thank you,
Christophe Bouhier
[Updated on: Mon, 30 January 2012 12:58] Report message to a moderator
|
|
|
Re: tree viewer, cell multi selection not highlighted. [message #786439 is a reply to message #786422] |
Mon, 30 January 2012 12:28 |
Thomas Schindl Messages: 6651 Registered: July 2009 |
Senior Member |
|
|
There's a bugzilla with a solution for this already but I can't remember
the bugid.
Tom
Am 30.01.12 13:01, schrieb Christophe Bouhier:
> Hi,
>
> On MacOSX Lion, when I enable cell navigation. (From Snippet058CellNavigationIn34 ),
> highlighting of non selected cell is not as expected. In the attached screenshot,
> I am selecting multiple cells in column 0. The selection starts at the row named "SCTP".
>
> What I observe:
>
> - The selection is there, as I do get the multiple selected items.
> - The highlighting is in background white, only for the text bounds of the cell.
> - The foreground seems to be white as well, as the collapse/expand triangle is not visible for the row named "SCTP". (Note: I Use a StyleCellLabelProvider for the label and images).
>
> What I would expect, is the multiple selection to be at least visible, I guess it can't be the same color as the selection of the focused cell, but a reasonable default should be to make clear it's selected.
> What I would like, is to keep the default selection color, even for the focus cell, but then have the focus cell draw a dotted line or thicker border around the focus cell.
>
> For the latter, I could implement my own FocusCellOwnerDrawHighlighter and re-implement markFocusedCell.
> How do I change the multi-selection highlighting color to non-white?
>
> Thank you,
> Christophe Bouhier
>
>
>
>
>
>
>
>
>
|
|
| | | | |
Goto Forum:
Current Time: Thu Apr 25 17:43:12 GMT 2024
Powered by FUDForum. Page generated in 0.03962 seconds
|