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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Dec 19 13:32:40 UTC 2018


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

New commits:
commit b16992f92090f616af02ea46912ebde697c7780d
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 14:32:16 2018 +0100

    tdf#122119 make fontfeature dialog size unlimited
    
    Change-Id: Iacfcce9ec3a71f43fb5ce491d23184691c269944
    Reviewed-on: https://gerrit.libreoffice.org/65417
    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 5e5d793228e9..73f9a4da3125 100644
--- a/cui/source/dialogs/FontFeaturesDialog.cxx
+++ b/cui/source/dialogs/FontFeaturesDialog.cxx
@@ -128,11 +128,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