diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-10-15 15:35:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-11-26 16:09:34 +0100 |
commit | cf9f303ff9d8e2c9382d1e09e480f9801d254acd (patch) | |
tree | 1dc2a97c38d7f22b0047a01b0d2439d187240537 /vcl/source/app/salvtables.cxx | |
parent | acfa3917ab2eb3d3efd45f319ec48e6ccb87c5dd (diff) |
weld DataSourceTabPage
Change-Id: I99b7c2ec397829c2f7ceb7ec18ae24195b9781e2
Reviewed-on: https://gerrit.libreoffice.org/61800
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/app/salvtables.cxx')
-rw-r--r-- | vcl/source/app/salvtables.cxx | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index 44bcd0fadb98..820b78aa0022 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -1696,9 +1696,18 @@ public: virtual void set_error(bool bError) override { if (bError) - m_xEntry->SetControlForeground(Color(0xf0, 0, 0)); + { + // #i75179# enable setting the background to a different color + m_xEntry->SetForceControlBackground(true); + m_xEntry->SetControlForeground(COL_WHITE); + m_xEntry->SetControlBackground(0xff6563); + } else + { + m_xEntry->SetForceControlBackground(false); m_xEntry->SetControlForeground(); + m_xEntry->SetControlBackground(); + } } virtual vcl::Font get_font() override |