summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-20 16:21:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-05-21 20:15:27 +0200
commitfb4e341ec16a81d5d7f487f801d6b93837bc4c9f (patch)
treebbb5e8239bd719a662b8cca972cb482c74cd1906 /svtools
parent6124f6726a8f6da9088024fabac9c3ccc3dca08a (diff)
tweak to narrow stretchable widget defaults
Change-Id: Idcaea1fbd9df0389e2182f1014e8d3ed45d1b2f8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94604 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/brwbox/ebbcontrols.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svtools/source/brwbox/ebbcontrols.cxx b/svtools/source/brwbox/ebbcontrols.cxx
index b60c71feaa92..9c398823f8a1 100644
--- a/svtools/source/brwbox/ebbcontrols.cxx
+++ b/svtools/source/brwbox/ebbcontrols.cxx
@@ -31,6 +31,7 @@ namespace svt
: InterimItemWindow(pParent, "svt/ui/combocontrol.ui", "ComboControl")
, m_xWidget(m_xBuilder->weld_combo_box("combobox"))
{
+ m_xWidget->set_entry_width_chars(1); // so a smaller than default width can be used
}
void ComboBoxControl::dispose()
@@ -107,6 +108,7 @@ namespace svt
: InterimItemWindow(pParent, "svt/ui/listcontrol.ui", "ListControl")
, m_xWidget(m_xBuilder->weld_combo_box("listbox"))
{
+ m_xWidget->set_size_request(42, -1); // so a later narrow size request can stick
}
void ListBoxControl::dispose()