Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] FontDialog behavior on different platforms

It seems like this issue has been danced around off and on for years now without actually dealing with it. Platform UI has bugs open to support color selection from this dialog but I believe the real solution is similar to what you've asked for - a method or style bit to remove those controls entirely. There's a bug asking for this (bug 35890) that I believe was closed in error several years ago. I've reopened it and moved it to SWT for comment.

On 26-Mar-08, at 11:01 AM, Kenneth Westelinck wrote:
Dear list,

I am developing a cross platform Eclipse RCP application and I am having issues with the FontDialog implementation on these different platforms. It seems that Windows is the only platform that has a dropdown to select a color. Other platforms such as Mac OS and Linux (maybe others too, haven't tested it) don't have this option. Developing an RCP application that supports selection for Fonts and Colors is therefore very painful. According to this VB sample: http://www.java2s.com/Code/VB/GUI/Fontdialogturncoloroptionon.htm the color selection part in the dialog is an option that can be turned of. Shouldn't the FontDialog honor this option, so I can disable the color selection in the FontDialog and use another mechanism (like ColorSelector/ColorDialog) to set the font's color.
Sorry if this is the wrong place to ask.


regards,

Kenneth
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev



Back to the top