[Libreoffice-commits] core.git: svx/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Apr 22 07:45:00 UTC 2021
svx/source/sidebar/inspector/InspectorTextPanel.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit cdbf09681b7c66c3d3c1d5c8086bd57e23f7939c
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Apr 21 14:50:49 2021 +0100
Commit: Caolán McNamara <caolanm at 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 <caolanm at 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);
}
More information about the Libreoffice-commits
mailing list