diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-11-10 16:18:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-11-10 21:06:36 +0100 |
commit | a9eab8cef6f241b453c1dba30b0ebf2f61853301 (patch) | |
tree | c13218fc8f996e082b3716eeb9f44c232d812fec /vcl/source/window/builder.cxx | |
parent | c44155d3f8bc2037a41d221463d460138b3ecdf9 (diff) |
allow VclBuilder to set expander label attributes
Change-Id: I0b78db778d230509e6bbb59d965540a5f5d6f3de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105559
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/window/builder.cxx')
-rw-r--r-- | vcl/source/window/builder.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 930dbfaab600..d50444f1f3f4 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -782,6 +782,8 @@ VclBuilder::VclBuilder(vcl::Window* pParent, const OUString& sUIDir, const OUStr { FixedText *pLabelWidget = static_cast<FixedText*>(pLabel); elem->set_label(pLabelWidget->GetText()); + if (pLabelWidget->IsControlFont()) + elem->get_label_widget()->SetControlFont(pLabelWidget->GetControlFont()); delete_by_window(pLabel); } } |