[Libreoffice-commits] core.git: svx/source

Heiko Tietze (via logerrit) logerrit at kemper.freedesktop.org
Sat May 16 08:17:07 UTC 2020


 svx/source/tbxctrls/SvxPresetListBox.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5fccbf0f6f55d697efa20d0d2282d39631fe6c59
Author:     Heiko Tietze <tietze.heiko at gmail.com>
AuthorDate: Thu May 14 17:17:36 2020 +0200
Commit:     Heiko Tietze <heiko.tietze at documentfoundation.org>
CommitDate: Sat May 16 10:16:26 2020 +0200

    Resolves tdf#132852 - Area fill dialog spacing
    
    WB_ITEMBORDER added to the widget style
    
    Change-Id: Ica898d3f23a7973bd002c3fcf52302b42cb0f269
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94237
    Tested-by: Jenkins
    Reviewed-by: Heiko Tietze <heiko.tietze at documentfoundation.org>

diff --git a/svx/source/tbxctrls/SvxPresetListBox.cxx b/svx/source/tbxctrls/SvxPresetListBox.cxx
index adb623bf5dd5..eb31bec38b9b 100644
--- a/svx/source/tbxctrls/SvxPresetListBox.cxx
+++ b/svx/source/tbxctrls/SvxPresetListBox.cxx
@@ -33,7 +33,7 @@ SvxPresetListBox::SvxPresetListBox(std::unique_ptr<weld::ScrolledWindow> pWindow
 void SvxPresetListBox::SetDrawingArea(weld::DrawingArea* pDrawingArea)
 {
     ValueSet::SetDrawingArea(pDrawingArea);
-    SetExtraSpacing(4);
+    SetStyle(GetStyle() | WB_ITEMBORDER);
 }
 
 void SvxPresetListBox::Resize()


More information about the Libreoffice-commits mailing list