svx/source/sidebar/inspector/InspectorTextPanel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit cdbf09681b7c66c3d3c1d5c8086bd57e23f7939c Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Wed Apr 21 14:50:49 2021 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Apr 22 09:44:18 2021 +0200 if only the first col width is set, the 2nd will take the remaining space which looks neater than having the gen headerbar have a blank area to the right of the last col indicator Change-Id: Ia5ffab425e1c4983db941722d118a954aae1d113 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114435 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/svx/source/sidebar/inspector/InspectorTextPanel.cxx b/svx/source/sidebar/inspector/InspectorTextPanel.cxx index 84a681055abf..fefc42727470 100644 --- a/svx/source/sidebar/inspector/InspectorTextPanel.cxx +++ b/svx/source/sidebar/inspector/InspectorTextPanel.cxx @@ -51,7 +51,7 @@ InspectorTextPanel::InspectorTextPanel(weld::Widget* pParent) float fWidth = mpListBoxStyles->get_approximate_digit_width(); std::vector<int> aWidths; aWidths.push_back(fWidth * 29); - aWidths.push_back(fWidth * 10); + // 2nd column will fill remaining space mpListBoxStyles->set_column_fixed_widths(aWidths); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits