summaryrefslogtreecommitdiff
path: root/ui/qt5/networkifacepage.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/networkifacepage.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/networkifacepage.cc')
-rw-r--r--ui/qt5/networkifacepage.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/qt5/networkifacepage.cc b/ui/qt5/networkifacepage.cc
index 9eecefd..e0d3665 100644
--- a/ui/qt5/networkifacepage.cc
+++ b/ui/qt5/networkifacepage.cc
@@ -59,7 +59,6 @@ void NetworkIfacePage::initializePage() {
#ifdef HAS_INSTALL_ENV
descLabel = new QLabel(tr(
"Your computer has more than one network device. Select the one you wish to use during installation."));
- descLabel->setWordWrap(true);
for(auto &iface : horizonWizard()->interfaces) {
QIcon ifaceIcon;
@@ -91,8 +90,8 @@ void NetworkIfacePage::initializePage() {
}
#else
descLabel = new QLabel(tr("Enter the name of the network device you will use on this computer."));
- descLabel->setWordWrap(true);
#endif /* HAS_INSTALL_ENV */
+ descLabel->setWordWrap(true);
layout = new QVBoxLayout;
layout->addWidget(descLabel);