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 | 915e0d150093d99e8cc4437db6d377b5a3ce8ddd (patch) | |
tree | 538b4d867206c470a03a9cccaa39ba96e118d7a5 /cui | |
parent | f75ea321f8cd4b8b902627ee7130885ad6eabbaa (diff) |
better sizing of copyright-text
Diffstat (limited to 'cui')
-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 3ebce9b88492..50e5ce9ac7bc 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; |