Bugzilla – Attachment 170654 Details for
Bug 141195
Custom button text color not shown in the Basic dialogs with default background color
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch fot the bug
fix.patch (text/plain), 1.18 KB, created by
Matej Kivader
on 2021-03-23 11:09:22 UTC
(
hide
)
Description:
Proposed patch fot the bug
Filename:
MIME Type:
Creator:
Matej Kivader
Created:
2021-03-23 11:09:22 UTC
Size:
1.18 KB
patch
obsolete
>diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx >index c19c29c5c750..1d4553c5d650 100644 >--- a/vcl/source/control/button.cxx >+++ b/vcl/source/control/button.cxx >@@ -807,6 +807,8 @@ void PushButton::ImplDrawPushButtonContent(OutputDevice *pDev, DrawFlags nDrawFl > aColor = rStyleSettings.GetDefaultButtonPressedRolloverTextColor(); > else if (nButtonFlags & DrawButtonFlags::Highlight) > aColor = rStyleSettings.GetDefaultButtonRolloverTextColor(); >+ else if (IsControlForeground()) >+ aColor = GetControlForeground(); > else > aColor = rStyleSettings.GetDefaultButtonTextColor(); > else >@@ -814,6 +816,8 @@ void PushButton::ImplDrawPushButtonContent(OutputDevice *pDev, DrawFlags nDrawFl > aColor = rStyleSettings.GetButtonPressedRolloverTextColor(); > else if (nButtonFlags & DrawButtonFlags::Highlight) > aColor = rStyleSettings.GetButtonRolloverTextColor(); >+ else if (IsControlForeground()) >+ aColor = GetControlForeground(); > else > aColor = rStyleSettings.GetButtonTextColor(); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 141195
: 170654 |
171039