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

New commits:
commit cd70a4614fc24d62e16a4ff6182d4fecfb6617d1
Author:     Caolán McNamara <[email protected]>
AuthorDate: Wed Dec 19 10:32:07 2018 +0000
Commit:     Caolán McNamara <[email protected]>
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 <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>

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()
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to