diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-05-18 13:48:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:19 +0100 |
commit | 0b5d156dee0dd362200134d1a4b1ba44d2d63970 (patch) | |
tree | e2f024f181a7f6ecf41a6c8f85c9493daa3315e9 /sw/source | |
parent | 0d7cbdbeac23b6a04b4b7b6e8fd39f2a99da0f41 (diff) |
implement sucking in the padding from the theme
pretty up dialogs, centralize adding the borders into
VclContainer, reduce default space between buttons
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/dialog/wordcountdialog.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sw/source/ui/dialog/wordcountdialog.cxx b/sw/source/ui/dialog/wordcountdialog.cxx index 05db90bd9ab1..4f34c59a61d6 100644 --- a/sw/source/ui/dialog/wordcountdialog.cxx +++ b/sw/source/ui/dialog/wordcountdialog.cxx @@ -85,12 +85,8 @@ SwWordCountDialog::SwWordCountDialog(Dialog* pParent) rtl::OString sFill(RTL_CONSTASCII_STRINGPARAM("fill")); rtl::OString sExpand(RTL_CONSTASCII_STRINGPARAM("expand")); rtl::OString sPackType(RTL_CONSTASCII_STRINGPARAM("pack-type")); - rtl::OString sBorderWidth(RTL_CONSTASCII_STRINGPARAM("border-width")); vbox.setChildProperty(sFill, true); - //TO-DO, when vcontent_area belongs to dialog via builder, this becomes - //content-area-border on the dialog - vbox.setChildProperty(sBorderWidth, sal_Int32(7)); action_area.setChildProperty(sFill, true); @@ -103,7 +99,7 @@ SwWordCountDialog::SwWordCountDialog(Dialog* pParent) aCurrentSelectionLine.setChildProperty(sExpand, true); aSelectionBox.setChildProperty(sFill, true); - aSelectionBox.setChildProperty(sBorderWidth, sal_Int32(7)); + aSelectionBox.set_border_width(7); aSelectionRow1.setChildProperty(sFill, true); aSelectionRow1.setChildProperty(sExpand, true); @@ -128,7 +124,7 @@ SwWordCountDialog::SwWordCountDialog(Dialog* pParent) aDocLine.setChildProperty(sExpand, true); aDocBox.setChildProperty(sFill, true); - aDocBox.setChildProperty(sBorderWidth, sal_Int32(7)); + aDocBox.set_border_width(7); aDocRow1.setChildProperty(sFill, true); aDocRow1.setChildProperty(sExpand, true); |