diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2016-09-12 10:53:16 +0200 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2016-09-12 09:54:44 +0000 |
commit | b28cd2dbd78bfeecd0209142f6dd6a8e8ad8aa90 (patch) | |
tree | 0d26f8f2b6c99b5964e12ec367e8b3cef7c23189 /ui/qt/module_preferences_scroll_area.cpp | |
parent | 68fafcf43f096c2db01527a2265570f7a1ffe373 (diff) | |
download | wireshark-b28cd2dbd78bfeecd0209142f6dd6a8e8ad8aa90.tar.gz |
Qt: Word wrap static text preferences
The preferences static text may be too long for the preferences
dialog width, so set word wrap for this label.
Change-Id: I0828601b39a5e189de707087e317c598576fc3db
Reviewed-on: https://code.wireshark.org/review/17656
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/qt/module_preferences_scroll_area.cpp')
-rw-r--r-- | ui/qt/module_preferences_scroll_area.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/module_preferences_scroll_area.cpp b/ui/qt/module_preferences_scroll_area.cpp index 4aaa3b21f2..1c6840b1e3 100644 --- a/ui/qt/module_preferences_scroll_area.cpp +++ b/ui/qt/module_preferences_scroll_area.cpp @@ -178,6 +178,7 @@ pref_show(pref_t *pref, gpointer layout_ptr) { QLabel *label = new QLabel(pref->title); label->setToolTip(tooltip); + label->setWordWrap(true); vb->addWidget(label); break; } |