summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2017-01-09 22:59:29 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2017-01-10 04:00:19 +0000
commit5dbeccbe96f1cace62665523e49b5e693839d265 (patch)
treec837447c041e8162dd480b90c738e862845c0df5 /cui
parentf1b786bdd2576f584c62bfa797d3849eb5330c2c (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> (cherry picked from commit 62a94dcf0c750e335d6ce272d8a5df9813910d5a) Reviewed-on: https://gerrit.libreoffice.org/32913 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.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 22bb3c9bab3f..9972ca5133c3 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()