[Libreoffice-commits] core.git: svx/source
Shivam Kumar Singh (via logerrit)
logerrit at kemper.freedesktop.org
Wed Aug 5 15:07:33 UTC 2020
svx/source/sidebar/inspector/InspectorTextPanel.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b6576ce2321f68e4e2c7399f3c2fdf934df43d1e
Author: Shivam Kumar Singh <shivamhere247 at gmail.com>
AuthorDate: Mon Aug 3 20:06:19 2020 +0530
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Aug 5 17:06:49 2020 +0200
tdf#135344 Resolved Inspector scroll bar issues
Change-Id: Ifd1b494c2302e8d21cc87296fc8222ffa2c75faa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100010
Reviewed-by: Heiko Tietze <heiko.tietze at documentfoundation.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Jenkins
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/svx/source/sidebar/inspector/InspectorTextPanel.cxx b/svx/source/sidebar/inspector/InspectorTextPanel.cxx
index d9a389aefab9..2a212f33fe22 100644
--- a/svx/source/sidebar/inspector/InspectorTextPanel.cxx
+++ b/svx/source/sidebar/inspector/InspectorTextPanel.cxx
@@ -47,7 +47,7 @@ InspectorTextPanel::InspectorTextPanel(vcl::Window* pParent,
: PanelLayout(pParent, "InspectorTextPanel", "svx/ui/inspectortextpanel.ui", rxFrame)
, mpListBoxStyles(m_xBuilder->weld_tree_view("listbox_fonts"))
{
- mpListBoxStyles->set_size_request(-1, mpListBoxStyles->get_height_rows(25));
+ mpListBoxStyles->set_size_request(-1, -1);
float fWidth = mpListBoxStyles->get_approximate_digit_width();
std::vector<int> aWidths;
aWidths.push_back(fWidth * 34);
More information about the Libreoffice-commits
mailing list