diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-30 11:30:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-30 11:30:44 +0100 |
commit | 76f0d09185da6dc9cccc6983cdced4478588a9e8 (patch) | |
tree | 57699829b262b9ce7b9a9531a33e2b482a6b3917 | |
parent | d827b879432833e7de7aa8767af8238a8a1d9f82 (diff) |
better sizing of copyright-text
-rw-r--r-- | cui/source/dialogs/about.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx index 94b359d9a..9dc0312ce 100644 --- a/cui/source/dialogs/about.cxx +++ b/cui/source/dialogs/about.cxx @@ -207,10 +207,9 @@ AboutDialog::AboutDialog( Window* pParent, const ResId& rId) : // Multiline edit with Copyright-Text // preferred Version widget size - Size aCTSize = aCopyrightText.GetSizePixel(); - aCTSize.Width() = nTextWidth; - aCopyrightText.SetSizePixel(aCTSize); - aCTSize = aCopyrightText.CalcMinimumSize(); + aCopyrightText.SetSizePixel(Size(nTextWidth,600)); + Size aCTSize = aCopyrightText.CalcMinimumSize(); + aCTSize.Width()= nTextWidth; Point aCTPnt; aCTPnt.X() = ( aOutSiz.Width() - aCTSize.Width() ) / 2; aCTPnt.Y() = nY; |