diff options
author | Release Engineering <releng@openoffice.org> | 2011-02-18 11:14:19 +0100 |
---|---|---|
committer | Release Engineering <releng@openoffice.org> | 2011-02-18 11:14:19 +0100 |
commit | 10771c040794aec3ce6e18cd0cccadd472dcf747 (patch) | |
tree | 6687cc663dd86fce488861004872007ad93a3214 /vcl/source/window/msgbox.cxx | |
parent | ce5f1dd187c3a7d8113c7653fa887b98fd50aaf6 (diff) | |
parent | ebc04bc9219f8dd341308a430c295c53c4f6813c (diff) |
merged DEV300
Diffstat (limited to 'vcl/source/window/msgbox.cxx')
-rw-r--r-- | vcl/source/window/msgbox.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/msgbox.cxx b/vcl/source/window/msgbox.cxx index 7b3dcfaa3341..6e0c109a564d 100644 --- a/vcl/source/window/msgbox.cxx +++ b/vcl/source/window/msgbox.cxx @@ -422,6 +422,8 @@ void MessBox::ImplPosControls() } mpFixedText = new FixedText( this, nWinStyle ); + if( mpFixedText->GetStyle() & WB_EXTRAOFFSET ) // TODO: use CalcMinimumSize() instead + aFixedSize.Width() += 2; mpFixedText->SetPosSizePixel( aTextPos, aFixedSize ); mpFixedText->SetText( aMessText ); mpFixedText->Show(); |