Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324759 - [Table] Content cut off 1px at the bottom
Summary: [Table] Content cut off 1px at the bottom
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.5 M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-08 11:41 EDT by Tim Buschtoens CLA
Modified: 2011-06-09 10:08 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Buschtoens CLA 2010-09-08 11:41:12 EDT
To reproduce:
- Start controls demo, goto Table.
- Click font, set font size to 10 or smaller, apply
- add small icons to the table

=> The icon is cut off 1px. 

This is due to the extra line of pixels substracted from the items height for the gridline in TableItem.js:

      var height = this._parent.getItemHeight() - 1; // -1 is gridLine height

This line is not respected in the layout calculation.
Comment 1 Tim Buschtoens CLA 2011-06-09 10:08:26 EDT
Can not be reproduced anymore.