[Mono-bugs] [Bug 418108] ToolStrip background color defaults to white
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Sep 10 15:41:35 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=418108
User jpobst at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=418108#c14
Jonathan Pobst <jpobst at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |ASSIGNED
--- Comment #14 from Jonathan Pobst <jpobst at novell.com> 2008-09-10 13:41:35 MDT ---
Ok, here's where everything comes from when using the ProfessionalRenderer:
DropDown Background -> SystemColors.Window
ToolStripLabel Background -> None (does not draw over dropdown's)
ToolStripLabel Text -> the ToolStripLabel's ForeColor
Unselected MenuItem Background -> None (does not draw over dropdown's)
Selected MenuItem Background -> Hardcoded Color (182, 189, 210)
Unselected MenuItem Text ->
If the MenuItem's ForeColor = SystemColors.ControlText (meaning the user has
not changed it from the default), it uses SystemColors.MenuText. If the user
has changed the ForeColor, it uses that.
Selected MenuItem Text -> same logic as unselected, uses
SystemColors.HighlightText if user has not changed the default.
Note that ToolStripLabels use different painting logic than normal
ToolStripMenuItems.
>From this, we have to figure out a combination that works for both the default
and systems where the window background is set to dark. I am open to
suggestions, none of this is documented so it was just my best guess when I
wrote it.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list