summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-06-30 20:35:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-06-30 20:40:15 +0100
commitfea12c47101d3d13d1e6a611f88c54f257b49b11 (patch)
treea023f40785c412dded47a723ad7fef707c9242f1 /vcl
parentXubString->OUString (diff)
downloadcore-fea12c47101d3d13d1e6a611f88c54f257b49b11.tar.gz
core-fea12c47101d3d13d1e6a611f88c54f257b49b11.zip
using primary font for secondary max text width
Change-Id: If4d5d4be2a5552c52e7e98ff891e2166b7541800
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/layout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index be28fff48d96..0cdf84c6bdac 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -1813,7 +1813,7 @@ short MessageDialog::Execute()
m_pSecondaryMessage->set_hexpand(true);
m_pSecondaryMessage->SetText(m_sSecondaryString);
m_pSecondaryMessage->Show(!m_sSecondaryString.isEmpty());
- m_pSecondaryMessage->SetMaxTextWidth(m_pPrimaryMessage->approximate_char_width() * 80);
+ m_pSecondaryMessage->SetMaxTextWidth(m_pSecondaryMessage->approximate_char_width() * 80);
VclButtonBox *pButtonBox = get_action_area();
assert(pButtonBox);