summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-09-29 15:34:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-09-30 10:04:54 +0200
commit61050c6d7b8bceef2704eba0bfe4473ee75e669d (patch)
tree763b0bce8ed7d0f8f440c493b8f2c5a322ee2de6 /include/svtools
parent52a07baebf7d1bfeda7a74dd0eac22b9e349fb56 (diff)
tdf#141633 set correct font sizes in tableview child widgets
Change-Id: Ic96a0ad8203bf3903546c0c2f07d96254ca01e4c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122832 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/editbrowsebox.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx
index 5b083454ff9e..d557634ad8c8 100644
--- a/include/svtools/editbrowsebox.hxx
+++ b/include/svtools/editbrowsebox.hxx
@@ -172,6 +172,8 @@ namespace svt
virtual bool ProcessKey(const KeyEvent& rKEvt);
+ virtual void SetPointFont(const vcl::Font& rFont);
+
// chain after the FocusInHdl
void SetFocusInHdl(const Link<LinkParamNone*,void>& rHdl)
{
@@ -224,6 +226,11 @@ namespace svt
m_pEntry->set_editable(!bReadOnly);
}
+ virtual void SetPointFont(const vcl::Font& rFont) override
+ {
+ m_pEntry->set_font(rFont);
+ }
+
virtual void dispose() override;
weld::Entry& get_widget() { return *m_pEntry; }