Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333404 - [CTabFolder] CSS Font width calculation problem
Summary: [CTabFolder] CSS Font width calculation problem
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.3   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.4 M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-03 05:01 EST by Michael Haendel CLA
Modified: 2011-01-18 09:45 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.