Community
Participate
Working Groups
I20081118-0800. The native/default color used for SWT.UNDERLINE_LINK is too dark. Now, I can see that it is the same color as in some of the WindowsXP dialogs (e.g. 'Automatic Updates' config dialog) but compared to IE, Mozilla and what we used in the text editor so far it is way too dark. BTW: Any idea how I could change the WindowsXP hyperlink color?
> I can see that it is the same color as in some of the WindowsXP dialogs That means that the color is "right".
>That means that the color is "right". Yes, it is technically "right" and even OK when used in dialogs but it is unexpected for a link inside StyledText where people rather like to see the known color from the browsers.
Is it darker than IE?
(In reply to comment #3) > Is it darker than IE? Yes. IE: 0,51,153 TextLayout: 0,0,128 <- this is the color SysLink uses and the color returned by GetSysColor (OS.COLOR_HOTLIGHT) Not sure why they are different, maybe the SysLink color is meant the be used against a widget background color (dark gray) while IE color is meant to be used against a white background.
>Yes. >IE: 0,51,153 On my system with Windows Classic style IE has 0,0,153 (same as Firefox).
Closing as WORKSFORME: under Windows 7 the color is now the same for the hyperlinks in the editor, IE and Windows dialogs and it is the same as returned by the new SWT.COLOR_LINK_FOREGROUND API from bug 181592 (0,102,204).