diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-11-18 12:12:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-11-18 14:08:08 +0000 |
commit | 52f7dfefde8d989032ea056f4cdba11cddde1f7c (patch) | |
tree | bdb24cfc4c01822ad9dc5589a961c3ea6d1bbc49 /vcl | |
parent | 7de38f78fe66b4c5c6d62c59cdd6a38359352998 (diff) |
adjust sizes of primary and secondary areas
Change-Id: I47dffdabcbd0b321502478327f95e9e6bfba6f5b
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/layout.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx index 111e41bbab29..973782905e93 100644 --- a/vcl/source/window/layout.cxx +++ b/vcl/source/window/layout.cxx @@ -2001,11 +2001,11 @@ void MessageDialog::SetMessagesWidths(Window *pParent, aFont.SetSize(Size(0, aFont.GetSize().Height() * 1.2)); aFont.SetWeight(WEIGHT_BOLD); pPrimaryMessage->SetControlFont(aFont); - pPrimaryMessage->SetMaxTextWidth(pPrimaryMessage->approximate_char_width() * 60); - pSecondaryMessage->SetMaxTextWidth(pSecondaryMessage->approximate_char_width() * 80); + pPrimaryMessage->SetMaxTextWidth(pPrimaryMessage->approximate_char_width() * 44); + pSecondaryMessage->SetMaxTextWidth(pSecondaryMessage->approximate_char_width() * 60); } else - pPrimaryMessage->SetMaxTextWidth(pPrimaryMessage->approximate_char_width() * 80); + pPrimaryMessage->SetMaxTextWidth(pPrimaryMessage->approximate_char_width() * 60); } |