[Libreoffice-commits] core.git: cui/source

Tomaž Vajngerl tomaz.vajngerl at collabora.co.uk
Mon Jan 9 22:16:48 UTC 2017


 cui/source/tabpages/tparea.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 62a94dcf0c750e335d6ce272d8a5df9813910d5a
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
Date:   Mon Jan 9 22:59:29 2017 +0100

    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 at gmail.com>
    Tested-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx
index 0032e28..fbe4600 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()


More information about the Libreoffice-commits mailing list