summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-01-06 15:50:13 +0000
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2020-01-07 10:53:47 +0100
commit0e536aa4b173b5e2a370333e50f822883923dffc (patch)
tree5cd6a0f5e9a0a30ed04121e97fc200423970ef52
parentd797bdbf6f54770b74c8f319c4f08dd685cb0656 (diff)
Resolves: tdf#129518 make colorboxes max width at 1/3 avail space
Change-Id: I4eef1f108078bc05f7755b5befb18437c30638ca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86285 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r--sc/source/ui/condformat/condformatdlgentry.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx
index 7d914952bbdb..b46fefc7ba84 100644
--- a/sc/source/ui/condformat/condformatdlgentry.cxx
+++ b/sc/source/ui/condformat/condformatdlgentry.cxx
@@ -731,6 +731,8 @@ ScColorScale2FrmtEntry::ScColorScale2FrmtEntry(ScCondFormatList* pParent, ScDocu
mxLbColorFormat->set_size_request(CommonWidgetWidth, -1);
mxLbEntryTypeMin->set_size_request(CommonWidgetWidth, -1);
mxLbEntryTypeMax->set_size_request(CommonWidgetWidth, -1);
+ mxLbColMin->get_widget().set_size_request(CommonWidgetWidth, -1);
+ mxLbColMax->get_widget().set_size_request(CommonWidgetWidth, -1);
mxFtMin->show();
mxFtMax->show();
@@ -868,6 +870,9 @@ ScColorScale3FrmtEntry::ScColorScale3FrmtEntry(ScCondFormatList* pParent, ScDocu
mxLbEntryTypeMin->set_size_request(CommonWidgetWidth, -1);
mxLbEntryTypeMiddle->set_size_request(CommonWidgetWidth, -1);
mxLbEntryTypeMax->set_size_request(CommonWidgetWidth, -1);
+ mxLbColMin->get_widget().set_size_request(CommonWidgetWidth, -1);
+ mxLbColMiddle->get_widget().set_size_request(CommonWidgetWidth, -1);
+ mxLbColMax->get_widget().set_size_request(CommonWidgetWidth, -1);
mxFtMin->show();
mxFtMax->show();