diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-20 21:16:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:03 +0100 |
commit | 89b5326a41f3a43209899f99e2a8515759cbab5f (patch) | |
tree | 9ac568ed96b20db683b80b3b1475fc91421a6dcb /sw/source/ui/dialog/wordcountdialog.cxx | |
parent | 91100a806fc6196a5d52eb0bd6793f8aff61fa37 (diff) |
pretty it up a little
Diffstat (limited to 'sw/source/ui/dialog/wordcountdialog.cxx')
-rw-r--r-- | sw/source/ui/dialog/wordcountdialog.cxx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sw/source/ui/dialog/wordcountdialog.cxx b/sw/source/ui/dialog/wordcountdialog.cxx index 5c281ab76379..341ca964a230 100644 --- a/sw/source/ui/dialog/wordcountdialog.cxx +++ b/sw/source/ui/dialog/wordcountdialog.cxx @@ -40,6 +40,8 @@ #include <wrtsh.hxx> //TODO, add asian/non-asian word count to UI when CJK mode is enabled. +const int nWCSpacing = 50; + SwWordCountDialog::SwWordCountDialog(Dialog* pParent) : dialog_vbox1(pParent) , box1(&dialog_vbox1) @@ -47,26 +49,26 @@ SwWordCountDialog::SwWordCountDialog(Dialog* pParent) , aCurrentSelectionText(&aCurrentSelection, SW_RES(FT_CURRENT)) , aCurrentSelectionLine(&aCurrentSelection, SW_RES(FL_CURRENT)) , aSelectionBox(&box1, false, 7) - , aSelectionRow1(&aSelectionBox) + , aSelectionRow1(&aSelectionBox, false, nWCSpacing) , aCurrentWordFT(&aSelectionRow1, SW_RES(FT_CURRENTWORD)) , aCurrentWordFI(&aSelectionRow1, SW_RES(FI_CURRENTWORD)) - , aSelectionRow2(&aSelectionBox) + , aSelectionRow2(&aSelectionBox, false, nWCSpacing) , aCurrentCharacterFT(&aSelectionRow2, SW_RES(FT_CURRENTCHARACTER)) , aCurrentCharacterFI(&aSelectionRow2, SW_RES(FI_CURRENTCHARACTER)) - , aSelectionRow3(&aSelectionBox) + , aSelectionRow3(&aSelectionBox, false, nWCSpacing) , aCurrentCharacterExcludingSpacesFT(&aSelectionRow3, SW_RES(FT_CURRENTCHARACTEREXCLUDINGSPACES)) , aCurrentCharacterExcludingSpacesFI(&aSelectionRow3, SW_RES(FI_CURRENTCHARACTEREXCLUDINGSPACES)) , aDoc(&box1) , aDocText(&aDoc, SW_RES(FT_DOC)) , aDocLine(&aDoc, SW_RES(FL_DOC)) , aDocBox(&box1, false, 7) - , aDocRow1(&aDocBox) + , aDocRow1(&aDocBox, false, nWCSpacing) , aDocWordFT(&aDocRow1, SW_RES(FT_DOCWORD)) , aDocWordFI(&aDocRow1, SW_RES(FI_DOCWORD)) - , aDocRow2(&aDocBox) + , aDocRow2(&aDocBox, false, nWCSpacing) , aDocCharacterFT(&aDocRow2, SW_RES(FT_DOCCHARACTER)) , aDocCharacterFI(&aDocRow2, SW_RES(FI_DOCCHARACTER)) - , aDocRow3(&aDocBox) + , aDocRow3(&aDocBox, false, nWCSpacing) , aDocCharacterExcludingSpacesFT(&aDocRow3, SW_RES(FT_DOCCHARACTEREXCLUDINGSPACES)) , aDocCharacterExcludingSpacesFI(&aDocRow3, SW_RES(FI_DOCCHARACTEREXCLUDINGSPACES)) , aBottomFL(&dialog_vbox1, SW_RES(FL_BOTTOM)) |