summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-02-02 10:51:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-02-02 10:53:56 +0000
commit3fb9a28b240882729898f88f92adfe3b4c4433e6 (patch)
treebf257b98f3525ce27dc98e0b7bfe11ea4630b036 /vcl
parente6093cff4776fde16a038fdd1d000ffbfc7b77b1 (diff)
add theme content_area_spacing to dialog vbox spacing, not override
Change-Id: I4b7fa3fd01717105af194a04b73d90e0d602028a
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/dialog.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index 1aef3e6296cd..63ea451f3674 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -670,7 +670,8 @@ void Dialog::setInitialLayoutSize()
const DialogStyle& rDialogStyle =
GetSettings().GetStyleSettings().GetDialogStyle();
pBox->set_border_width(rDialogStyle.content_area_border);
- pBox->set_spacing(rDialogStyle.content_area_spacing);
+ pBox->set_spacing(pBox->get_spacing() +
+ rDialogStyle.content_area_spacing);
VclButtonBox *pActionArea = getActionArea(this);
if (pActionArea)