diff options
author | Heiko Tietze <tietze.heiko@gmail.com> | 2023-03-06 14:39:03 +0100 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2023-03-07 08:28:06 +0000 |
commit | d9ba2fbdc81705d387f932700289b2dda8ea81dc (patch) | |
tree | 9559989adfff4a304691a803104ab24f7f510115 /vcl/source/app | |
parent | 5d5dca66e17c90e20197d0d76113254b13ff0bb7 (diff) |
Resolves tdf#153933 - Minor adjustments to EntryMessageType
Red adjusted to follow the standard palette and yellow to
have the same saturation
Change-Id: Ic40a37c77862471066a8575d4b22cc18dc6edac4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148348
Reviewed-by: Vernon, Stuart Foote <vsfoote@libreoffice.org>
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'vcl/source/app')
-rw-r--r-- | vcl/source/app/salvtables.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index a5ac05271b51..9bbd8e5bf05d 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -3458,14 +3458,14 @@ void set_message_type(Edit* pEntry, weld::EntryMessageType eType) // relevant for GTK; see also #i75179# pEntry->SetForceControlBackground(true); pEntry->SetControlForeground(COL_BLACK); - pEntry->SetControlBackground(COL_YELLOW); + pEntry->SetControlBackground(0xffff38); // "light yellow 1" break; case weld::EntryMessageType::Error: // tdf#114603: enable setting the background to a different color; // relevant for GTK; see also #i75179# pEntry->SetForceControlBackground(true); - pEntry->SetControlForeground(COL_WHITE); - pEntry->SetControlBackground(0xff6563); + pEntry->SetControlForeground(COL_BLACK); // contrast of 5.87 to the red background + pEntry->SetControlBackground(0xff3838); // "light red 1" break; } } |