summaryrefslogtreecommitdiff
path: root/ui/qt5/commitpage.cc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-18 15:38:36 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-18 15:38:36 -0600
commit0e9db4fe22f40c7ce1a10235369f1253295b4d85 (patch)
treec066186a1fa2aacc326c964482c226c7b40c8b5d /ui/qt5/commitpage.cc
parentbf86a55dd46aae173462137aa5a59d8e24516b83 (diff)
downloadhorizon-0e9db4fe22f40c7ce1a10235369f1253295b4d85.tar.gz
horizon-0e9db4fe22f40c7ce1a10235369f1253295b4d85.tar.bz2
horizon-0e9db4fe22f40c7ce1a10235369f1253295b4d85.tar.xz
horizon-0e9db4fe22f40c7ce1a10235369f1253295b4d85.zip
Qt UI: Make all QLabels word wrap
This is necessary in case someone needs font sizes raised. Otherwise, content may be truncated.
Diffstat (limited to 'ui/qt5/commitpage.cc')
-rw-r--r--ui/qt5/commitpage.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt5/commitpage.cc b/ui/qt5/commitpage.cc
index f144ade..1bbb7b7 100644
--- a/ui/qt5/commitpage.cc
+++ b/ui/qt5/commitpage.cc
@@ -32,6 +32,7 @@ CommitPage::CommitPage(QWidget *parent) : HorizonWizardPage(parent) {
choices = new QLabel;
choices->setFrameStyle(QFrame::Panel | QFrame::Sunken);
choices->setTextFormat(Qt::RichText);
+ choices->setWordWrap(true);
QVBoxLayout *layout = new QVBoxLayout;
layout->addWidget(descLabel);