diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-12-19 10:32:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-12-19 14:32:16 +0100 |
commit | b16992f92090f616af02ea46912ebde697c7780d (patch) | |
tree | 543086a579b27d87f2602145298b58f6b31efa59 /cui | |
parent | cc4352ccdd5dcdf055a67accc6e74b3ee81ec28c (diff) |
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@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/FontFeaturesDialog.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
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() |