Bug 460945 - CTabFolder/CTabItem width incorrectly calculated using custom theming
Summary: CTabFolder/CTabItem width incorrectly calculated using custom theming
Status: ASSIGNED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 2.3   Edit
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-26 09:26 EST by John Gymer CLA
Modified: 2015-02-27 06:20 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 John Gymer CLA 2015-02-26 09:26:25 EST
Using CTabFolder/CTabItem in RAP (2.3), the width of the items is always calculated using the default theming for CTabItem, and ignores any custom theming set using:
											myTabItem.setData(RWT.CUSTOM_VARIANT, "myVariant");

I use a smaller font for my theme compared to the default, so there is always a big (ugly) gap between the 'X' close image and the right side of the CTabItem.
Comment 1 Ivan Furnadjiev CLA 2015-02-27 06:20:01 EST
By looking into the code I can confirm the issue.