summaryrefslogtreecommitdiff
path: root/svx/source/sidebar
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-04-21 14:50:49 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-04-22 09:44:18 +0200
commitcdbf09681b7c66c3d3c1d5c8086bd57e23f7939c (patch)
tree336e59a218046c8d8c36b09b62b9f79f9c79fd2c /svx/source/sidebar
parent0f52706d8f1aef8b48236c60065f6ef0714987c0 (diff)
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@redhat.com>
Diffstat (limited to 'svx/source/sidebar')
-rw-r--r--svx/source/sidebar/inspector/InspectorTextPanel.cxx2
1 files changed, 1 insertions, 1 deletions
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);
}