summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2017-01-09 22:59:29 +0100
committerTomaž Vajngerl <quikee@gmail.com>2017-01-09 22:16:19 +0000
commit62a94dcf0c750e335d6ce272d8a5df9813910d5a (patch)
treeab13d730da283c1365ea6e390ac0ccfb7c3b9c40 /cui
parent20c16740b19a028624388a0d4961659a2a9d8b55 (diff)
tdf#103225 revert setting of a fixed size for the dialog
Setting fixed size of a dialog causes a mess with HiDPI and could also cause problems with certain languages because the translated strings could streach the dialog size. It is better to let the dialog calculate its ideal size depending on the content, which in some cases is not ideal but at least it shouldn't create a mess. The decision to revert this was done in design hangout on 2016-12-22. Change-Id: I0ad1e38e1625cdbbf65b846118995bd5d3ebb47e Reviewed-on: https://gerrit.libreoffice.org/32912 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/tparea.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index 0032e28f6a68..fbe4600930d1 100644
--- a/cui/source/tabpages/tparea.cxx
+++ b/cui/source/tabpages/tparea.cxx
@@ -125,9 +125,6 @@ SvxAreaTabPage::SvxAreaTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs
m_pBtnPattern->SetClickHdl(aLink);
SetExchangeSupport();
-
- m_pFillTab->set_width_request(750);
- m_pFillTab->set_height_request(550);
}
SvxAreaTabPage::~SvxAreaTabPage()