|
|
|
|
Re: Tooltips on Table rows/cells [message #1414784 is a reply to message #1412457] |
Mon, 01 September 2014 09:43 |
Matthias Nick Messages: 197 Registered: August 2013 |
Senior Member |
|
|
Hi Urs,
as much as I can remember, the tooltips are only shown if the text does not fit into the row. If the text does fit in the row, no tooltip is shown.
Did you test if the tootlip is shown if the text does not fit?
PS: Hint for debugging, here is the method which should be invoked:
org.eclipse.scout.rt.ui.swt.basic.table.SwtScoutTable.P_MultilineTooltipListener.handleEvent(Event)
Best regards,
Matthias
[Updated on: Tue, 02 September 2014 06:22] Report message to a moderator
|
|
|
Re: Tooltips on Table rows/cells [message #1419383 is a reply to message #1414784] |
Mon, 08 September 2014 14:21 |
Urs Beeli Messages: 573 Registered: October 2012 Location: Bern, Switzerland |
Senior Member |
|
|
Ok, after some testing I can say the following:
- for SmartColumns, the cell shows the tooltip defined in the corresponding LookupCall/LookupService's LookupRow object
- for all other columns: any cell on which I did a cell.setTooltipText() never shows a tooltip, no matter if the text fits or not
- for all other columns: any cell on which no tooltip was explicitely set, a tooltip appears if the column is not wide enough to show the text, in which case a tooltip containing the text content of the cell is shown
So it seems that it *is* possible to show cell tooltips (after all, the SmartColumn succesfully does it), but doing so using cell.setTooltipText() breaks something (because after that not even the normal "text does not fit" tooltip works.
After discussing this with Andy Hoegger, I have opened the following bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=443508
|
|
|
Powered by
FUDForum. Page generated in 0.04338 seconds