Bug 271075 - [Group] Border line crosses through the title when SWT.INHERIT_DEFAULT is set
Summary: [Group] Border line crosses through the title when SWT.INHERIT_DEFAULT is set
Status: ASSIGNED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.2   Edit
Hardware: All All
: P3 normal with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-02 22:33 EDT by Terry CLA
Modified: 2018-08-07 12:16 EDT (History)
1 user (show)

See Also:


Attachments
Screenshot (67.69 KB, image/jpeg)
2009-04-02 22:35 EDT, Terry CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Terry CLA 2009-04-02 22:33:04 EDT
Build ID: M20080911-1700

Steps To Reproduce:
The border line will cross through the title of Group widget when I invoke
the setBackgroundMode(SWT.INHERIT_DEFAULT) method in its parent Composite.

More information:
Comment 1 Terry CLA 2009-04-02 22:35:07 EDT
Created attachment 130787 [details]
Screenshot
Comment 2 Ralf Sternberg CLA 2009-04-24 06:46:39 EDT
It seems that this bug cannot be fixed without rewriting the Group widget.
As a workaround, you can use Group#setBackground to set the same background color on the group and on the parent composite.
We also consider to make the foreground and background color of the group label themeable.
Comment 3 Ivan Furnadjiev CLA 2011-12-23 04:14:28 EST
This is still valid with 1.5M4 - reproducible with Controls Demo -> Composite Tab (business or fancy theme). It's not reproducible with default theme, as there is a background color set for the group label by theming.