diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-10-04 10:35:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-10-04 12:42:27 +0200 |
commit | 952a678634461f741ee4ef2082d591a162a7f71c (patch) | |
tree | 2f00c8dea15320a2800351ed9b91a91341e70e36 /svtools | |
parent | 93d2d55b1df6bc850d6beecbabf1fb602abe9809 (diff) |
Related: tdf#141633 similiarly support match combo/listbox font sizes
to the desired zoomed font size in the table control
Change-Id: Iaf3b004544fdb0311b6c67baad612ba648e8c546
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123043
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/brwbox/ebbcontrols.cxx | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/svtools/source/brwbox/ebbcontrols.cxx b/svtools/source/brwbox/ebbcontrols.cxx index 9c1b438bb129..9980d1ae469b 100644 --- a/svtools/source/brwbox/ebbcontrols.cxx +++ b/svtools/source/brwbox/ebbcontrols.cxx @@ -37,6 +37,11 @@ namespace svt m_xWidget->connect_mouse_move(LINK(this, ControlBase, MouseMoveHdl)); } + void ComboBoxControl::SetPointFont(const vcl::Font& rFont) + { + m_xWidget->set_entry_font(rFont); + } + void ComboBoxControl::dispose() { m_xWidget.reset(); @@ -127,6 +132,11 @@ namespace svt m_xWidget->connect_mouse_move(LINK(this, ControlBase, MouseMoveHdl)); } + void ListBoxControl::SetPointFont(const vcl::Font& rFont) + { + m_xWidget->set_font(rFont); + } + void ListBoxControl::dispose() { m_xWidget.reset(); @@ -201,6 +211,10 @@ namespace svt m_xBox->connect_toggled(LINK(this, CheckBoxControl, OnToggle)); } + void CheckBoxControl::SetPointFont(const vcl::Font& /*rFont*/) + { + } + void CheckBoxControl::EnableTriState( bool bTriState ) { if (m_aModeState.bTriStateEnabled != bTriState) @@ -361,10 +375,6 @@ namespace svt return static_cast<BrowserDataWin*>(GetParent())->GetParent()->ProcessKey(rKEvt); } - void ControlBase::SetPointFont(const vcl::Font& /*rFont*/) - { - } - IMPL_LINK(ControlBase, KeyInputHdl, const KeyEvent&, rKEvt, bool) { return ProcessKey(rKEvt); |