Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333404

Summary: [CTabFolder] CSS Font width calculation problem
Product: [RT] RAP Reporter: Michael Haendel <michael.haendel>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.3   
Target Milestone: 1.4 M5   
Hardware: All   
OS: All   
Whiteboard:

Description Michael Haendel CLA 2011-01-03 05:01:36 EST
Build Identifier: 

There is a problem with the width calculation of the CTabItem if a font is
applied via CSS theming. While the specified font is used for rendering, it
seems as for width calculation the default font is used. If I call
CTabItem#getFont() it also returns the default font.


Reproducible: Always
Comment 1 Ivan Furnadjiev CLA 2011-01-18 04:20:41 EST
Reproducible with Controls Demo, but first change CTabFolder.default.css -> CTabItem#font to 22px for example. The tabs size is not adapted to the font size.
Comment 2 Ivan Furnadjiev CLA 2011-01-18 09:45:42 EST
Fixed in CVS HEAD.