summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-12-18 16:47:20 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-12-18 21:56:07 +0100
commitd72ea08b915f72efb70c97aa1ee90c919da5b5ab (patch)
tree833a8030e035c1a9c8e855064a4bf4e06c90b743 /cui
parenteb29623cf0614030a61c02b06ccbf06199c4f94e (diff)
Resolves: tdf#122168 width/height transposed
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í <xiscofauli@libreoffice.org> Tested-by: Xisco Faulí <xiscofauli@libreoffice.org> 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/tabpages/numfmt.cxx1
1 files changed, 0 insertions, 1 deletions
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.