Kaydet (Commit) cd70a461 authored tarafından Caolán McNamara's avatar Caolán McNamara

tdf#122119 make fontfeature dialog size unlimited

Change-Id: Iacfcce9ec3a71f43fb5ce491d23184691c269944
Reviewed-on: https://gerrit.libreoffice.org/65418
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 248ecee4
...@@ -127,11 +127,6 @@ void FontFeaturesDialog::fillGrid(std::vector<vcl::font::Feature> const& rFontFe ...@@ -127,11 +127,6 @@ void FontFeaturesDialog::fillGrid(std::vector<vcl::font::Feature> const& rFontFe
i++; 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() void FontFeaturesDialog::updateFontPreview()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment