From d72ea08b915f72efb70c97aa1ee90c919da5b5ab Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 18 Dec 2018 16:47:20 +0000 Subject: Resolves: tdf#122168 width/height transposed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit don't need it anyway, the width req is already set by SvxNumberPreview::SetDrawingArea Change-Id: Ic5b03a13a98c76c5ce927b13fc295510b6d8686d Reviewed-on: https://gerrit.libreoffice.org/65353 Reviewed-by: Xisco Faulí Tested-by: Xisco Faulí Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- cui/source/tabpages/numfmt.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx index 79430d39afc0..2e09793e0c51 100644 --- a/cui/source/tabpages/numfmt.cxx +++ b/cui/source/tabpages/numfmt.cxx @@ -235,7 +235,6 @@ SvxNumberFormatTabPage::SvxNumberFormatTabPage(TabPageParent pParent, m_xLbCategory->set_size_request(nWidth, m_xLbCategory->get_height_rows(7)); m_xLbFormat->set_size_request(nWidth, m_xLbFormat->get_height_rows(5)); m_xLbCurrency->set_size_request(1, -1); // width of 1, so real width will be that of its LbFormat sibling - m_xWndPreview->set_size_request(GetTextHeight()*3, -1); // Initially remove the "Automatically" entry. m_xLbCurrency->set_active(-1); // First ensure that nothing is selected. -- cgit v1.2.3