Bug 508633 - Win32: TabFolder does not allow changing background or foreground color
Summary: Win32: TabFolder does not allow changing background or foreground color
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.7   Edit
Hardware: PC Windows NT
: P3 enhancement with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 562529 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-12-03 03:32 EST by Thomas Singer CLA
Modified: 2020-08-25 06:33 EDT (History)
4 users (show)

See Also:


Attachments
Screenshot of SmartGit on Windows 10 (21.32 KB, image/png)
2016-12-03 03:32 EST, Thomas Singer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Singer CLA 2016-12-03 03:32:55 EST
Created attachment 265707 [details]
Screenshot of SmartGit on Windows 10

Please see attached screenshot.
Comment 1 Markus Keller CLA 2016-12-05 10:07:58 EST
From Control#setForeground(Color):

 * Note: This operation is a hint and may be overridden by the platform.
Comment 2 Lars Vogel CLA 2016-12-13 06:23:58 EST
Thomas, maybe you can switch to CTabFolder? This allows to style the background and foreground color.
Comment 3 Thomas Singer CLA 2016-12-13 12:36:55 EST
Sure this would be an option, but requires me to create an abstraction wrapper, so the using code does not need to know whether a TabFolder (OS X, Linux) or CTabFolder (Win32) is used.
Comment 4 Alexandr Miloslavskiy CLA 2020-05-18 12:11:37 EDT
@Lars our product has eventually decided to use a custom-built control that mimics TabFolder. Therefore, I won't be able to spend time on this issue.
Comment 5 Lars Vogel CLA 2020-05-25 05:55:21 EDT
*** Bug 562529 has been marked as a duplicate of this bug. ***