[Libreoffice-commits] core.git: Branch 'libreoffice-6-4' - sc/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Jan 7 11:37:34 UTC 2020


 sc/source/ui/condformat/condformatdlgentry.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 5dc17176f5194dc1e371b8de67aaa8813a117e94
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Jan 6 15:50:13 2020 +0000
Commit:     Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Tue Jan 7 12:37:07 2020 +0100

    Resolves: tdf#129518 make colorboxes max width at 1/3 avail space
    
    Change-Id: I4eef1f108078bc05f7755b5befb18437c30638ca
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86284
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>

diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx
index 31c08df05e2a..0e786698e214 100644
--- a/sc/source/ui/condformat/condformatdlgentry.cxx
+++ b/sc/source/ui/condformat/condformatdlgentry.cxx
@@ -733,6 +733,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();
@@ -870,6 +872,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();
 


More information about the Libreoffice-commits mailing list