diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-02-12 09:55:25 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-02-12 12:48:10 +0100 |
commit | a8f21e120b1073d7019d41e85cc9a15104ed5c93 (patch) | |
tree | c550831e03d3db20fdcccce8e1235fe6c73b1fd6 /cui | |
parent | de0651551b13e58e4a37794e1da6649629be3fc0 (diff) |
merge together as get_checkbox_column_width
Change-Id: I183d2d94ab60c128b136674ef40eeb30057b281c
Reviewed-on: https://gerrit.libreoffice.org/67714
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/multipat.cxx | 2 | ||||
-rw-r--r-- | cui/source/dialogs/srchxtra.cxx | 2 | ||||
-rw-r--r-- | cui/source/options/certpath.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/autocdlg.cxx | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/cui/source/dialogs/multipat.cxx b/cui/source/dialogs/multipat.cxx index 35ea7c80d489..b6e409e5d011 100644 --- a/cui/source/dialogs/multipat.cxx +++ b/cui/source/dialogs/multipat.cxx @@ -199,7 +199,7 @@ SvxMultiPathDialog::SvxMultiPathDialog(weld::Window* pParent) m_xRadioLB->get_text_height() * 10); std::vector<int> aWidths; - aWidths.push_back(m_xRadioLB->get_approximate_digit_width() * 3 + 6); + aWidths.push_back(m_xRadioLB->get_checkbox_column_width()); m_xRadioLB->set_column_fixed_widths(aWidths); std::vector<int> aRadioColumns; diff --git a/cui/source/dialogs/srchxtra.cxx b/cui/source/dialogs/srchxtra.cxx index 94ae52d9e0b4..39161e40765a 100644 --- a/cui/source/dialogs/srchxtra.cxx +++ b/cui/source/dialogs/srchxtra.cxx @@ -113,7 +113,7 @@ SvxSearchAttributeDialog::SvxSearchAttributeDialog(weld::Window* pParent, m_xAttrLB->get_height_rows(12)); std::vector<int> aWidths; - aWidths.push_back(m_xAttrLB->get_approximate_digit_width() * 3 + 6); + aWidths.push_back(m_xAttrLB->get_checkbox_column_width()); m_xAttrLB->set_column_fixed_widths(aWidths); m_xOKBtn->connect_clicked(LINK( this, SvxSearchAttributeDialog, OKHdl)); diff --git a/cui/source/options/certpath.cxx b/cui/source/options/certpath.cxx index 4a83dad29b94..37eeadc07641 100644 --- a/cui/source/options/certpath.cxx +++ b/cui/source/options/certpath.cxx @@ -38,7 +38,7 @@ CertPathDialog::CertPathDialog(weld::Window* pParent) m_xCertPathList->get_height_rows(6)); std::vector<int> aWidths; - aWidths.push_back(m_xCertPathList->get_approximate_digit_width() * 3 + 6); + aWidths.push_back(m_xCertPathList->get_checkbox_column_width()); aWidths.push_back(m_xCertPathList->get_approximate_digit_width() * 20); m_xCertPathList->set_column_fixed_widths(aWidths); diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index 03494f6d17f0..5e915f8ba31b 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -189,7 +189,7 @@ OfaAutocorrOptionsPage::OfaAutocorrOptionsPage(TabPageParent pParent, const SfxI , m_xCheckLB(m_xBuilder->weld_tree_view("checklist")) { std::vector<int> aWidths; - aWidths.push_back(m_xCheckLB->get_approximate_digit_width() * 3 + 6); + aWidths.push_back(m_xCheckLB->get_checkbox_column_width()); m_xCheckLB->set_column_fixed_widths(aWidths); m_xCheckLB->set_size_request(-1, m_xCheckLB->get_height_rows(10)); } @@ -1584,7 +1584,7 @@ OfaQuoteTabPage::OfaQuoteTabPage(TabPageParent pParent, const SfxItemSet& rSet) else { std::vector<int> aWidths; - aWidths.push_back(m_xSwCheckLB->get_approximate_digit_width() * 3 + 6); + aWidths.push_back(m_xSwCheckLB->get_checkbox_column_width()); m_xCheckLB->set_column_fixed_widths(aWidths); m_xSwCheckLB->hide(); } @@ -2131,7 +2131,7 @@ OfaSmartTagOptionsTabPage::OfaSmartTagOptionsTabPage(TabPageParent pParent, m_xSmartTagTypesLB->get_height_rows(6)); std::vector<int> aWidths; - aWidths.push_back(m_xSmartTagTypesLB->get_approximate_digit_width() * 3 + 6); + aWidths.push_back(m_xSmartTagTypesLB->get_checkbox_column_width()); m_xSmartTagTypesLB->set_column_fixed_widths(aWidths); // set the handlers: |