diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-02-02 10:51:25 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-02-02 10:53:56 +0000 |
commit | 3fb9a28b240882729898f88f92adfe3b4c4433e6 (patch) | |
tree | bf257b98f3525ce27dc98e0b7bfe11ea4630b036 | |
parent | e6093cff4776fde16a038fdd1d000ffbfc7b77b1 (diff) |
add theme content_area_spacing to dialog vbox spacing, not override
Change-Id: I4b7fa3fd01717105af194a04b73d90e0d602028a
-rw-r--r-- | vcl/source/window/dialog.cxx | 3 |
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) |