[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - cui/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Dec 19 15:49:45 UTC 2018


 cui/source/dialogs/FontFeaturesDialog.cxx |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit cd70a4614fc24d62e16a4ff6182d4fecfb6617d1
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Dec 19 10:32:07 2018 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Dec 19 16:49:17 2018 +0100

    tdf#122119 make fontfeature dialog size unlimited
    
    Change-Id: Iacfcce9ec3a71f43fb5ce491d23184691c269944
    Reviewed-on: https://gerrit.libreoffice.org/65418
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/cui/source/dialogs/FontFeaturesDialog.cxx b/cui/source/dialogs/FontFeaturesDialog.cxx
index 0c8a2e368bfd..8da13eda49e6 100644
--- a/cui/source/dialogs/FontFeaturesDialog.cxx
+++ b/cui/source/dialogs/FontFeaturesDialog.cxx
@@ -127,11 +127,6 @@ void FontFeaturesDialog::fillGrid(std::vector<vcl::font::Feature> const& rFontFe
 
         i++;
     }
-
-    Size aSize(m_xContentWindow->get_preferred_size());
-    Size aMaxSize(std::min<int>(aSize.Width(), m_xContentGrid->get_approximate_digit_width() * 100),
-                  std::min<int>(aSize.Height(), m_xContentGrid->get_text_height() * 20));
-    m_xContentWindow->set_size_request(aMaxSize.Width(), aMaxSize.Height());
 }
 
 void FontFeaturesDialog::updateFontPreview()


More information about the Libreoffice-commits mailing list