Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Menubar and scrollbar theming

Hi Thomas,

Cocoa has a mean to customize every bit of UI. See https://developer.apple.com/reference/appkit/nsappearance and https://github.com/insidegui/AppearanceMaker

I would like to try this out on SWT but I require some newer Cocoa classes to be binded in SWT. This is blocked by https://bugs.eclipse.org/bugs/show_bug.cgi?id=502090 (see also my post scriptum in https://dev.eclipse.org/mhonarc/lists/platform-swt-dev/msg08025.html for some more links about NSAppearance).

Cheers,
Mikael

Le 22 déc. 2016 à 16:23, Thomas Singer <ts-swt@xxxxxxxxxxx> a écrit :

Hi all,

(Most likely) Because of the limitations of the commercial operating systems people increasingly demand applications that support dark themes (neither OS X nor the latest Windows versions provide means to customize the GUI control colors).

I've tried to implement it as good as possible with the current SWT API: <http://www.syntevo.com/smartgit/version-17/dark-theme.png>

Unfortunately, some parts are not yet customizable:
- the toolbar does not use the set foreground color (bug 508033)
- table headers don't use the table's background and foreground colors (bug 449475)
- menubars (and menus) don't allow to set any color (and don't inherit it from the shell)
- scrollbars don't inherit the colors from their belonging control

Is there someone who has enough Win32-API-knowledge to confirm whether setting colors for menubars or scrollbars is supported by the Win32-API?

--
Best regards,
Thomas Singer
=============
syntevo GmbH
http://www.syntevo.com
http://www.syntevo.com/blog
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top