Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346594 - [Theming][Table] Gridlines per TableItem
Summary: [Theming][Table] Gridlines per TableItem
Status: ASSIGNED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-20 03:57 EDT by Holger Staudacher CLA
Modified: 2011-05-31 04:08 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Staudacher CLA 2011-05-20 03:57:09 EDT
If you theme a table you may want to have horizontal gridlines. This is easy to achieve by using the Table-GridLine:horizontal item. 

But if you have a table that only contains 5 items or so and the bounds of the table are much bigger. The gridlines are also drawn for the empty rows. This results in a really odd looking ui. 

I think we should add the possibility to show only the gridlines for filled rows. One solution could be to consider the Table-GridLine:horizontal only for filled rows and introduce a Table-GridLine:horizontal:empty for empty rows.
Comment 1 Ralf Sternberg CLA 2011-05-30 08:06:48 EDT
Agreed that this looks odd. But should we really make it themeable? Alternating row colors are also only drawn up to the last existing item.
I'd suggest that we change the behavior to not draw horizontal grid lines for non-existing items at all.
Comment 2 Ivan Furnadjiev CLA 2011-05-31 04:08:29 EDT
+1 for Ralf's suggestion.