diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-09-29 15:13:28 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-09-29 17:41:46 +0200 |
commit | 4e2306a5e336e2b43759c9712535626d0f2c168f (patch) | |
tree | 7a4a1aa1293204c504f9ba9894320e2fe89b9592 | |
parent | 8d131274e7aca598a89060cb0fbf7afb239b9034 (diff) |
Related: tdf#141633 PointFont gets overwritten by ControlFont
Change-Id: I26ffffe7917d109ddc61fd2d2646db0988937c7c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122827
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | vcl/source/app/salvtables.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index 2d30c82e781b..4a814aab3ee2 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -3296,6 +3296,7 @@ void SalInstanceEntry::set_message_type(weld::EntryMessageType eType) void SalInstanceEntry::set_font(const vcl::Font& rFont) { m_xEntry->SetPointFont(*m_xEntry->GetOutDev(), rFont); + m_xEntry->SetControlFont(rFont); m_xEntry->Invalidate(); } @@ -6514,6 +6515,7 @@ public: { Edit& rEntry = m_pEntry->getEntry(); rEntry.SetPointFont(*rEntry.GetOutDev(), rFont); + rEntry.SetControlFont(rFont); rEntry.Invalidate(); } |