diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-06-30 20:35:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-06-30 20:40:15 +0100 |
commit | fea12c47101d3d13d1e6a611f88c54f257b49b11 (patch) | |
tree | a023f40785c412dded47a723ad7fef707c9242f1 /vcl | |
parent | 0306e253fef4c25d4fe39ff9b5711c9487adc47b (diff) |
using primary font for secondary max text width
Change-Id: If4d5d4be2a5552c52e7e98ff891e2166b7541800
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/layout.cxx | 2 |
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); |