aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2015-12-07 13:28:30 +0100
committerStig Bjørlykke <stig@bjorlykke.org>2015-12-07 21:38:09 +0000
commit993690d1eeb3229dc981460426eb0b6288adb380 (patch)
tree6dbb0c6ba7227b84ce44c1033ca2de7af280f0d0 /ui
parent5f00849b9769e7691832de56d1ee1bc9f846c6ed (diff)
Qt: Align extcap label and edit widgets
Change-Id: I5c1bff7bf3fadffb198ed2c5c96dac06d9e28c81 Reviewed-on: https://code.wireshark.org/review/12462 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Roland Knall <rknall@gmail.com> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/extcap_options_dialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/extcap_options_dialog.cpp b/ui/qt/extcap_options_dialog.cpp
index d2c17f33f2..9f5f515ba2 100644
--- a/ui/qt/extcap_options_dialog.cpp
+++ b/ui/qt/extcap_options_dialog.cpp
@@ -152,11 +152,11 @@ void ExtcapOptionsDialog::updateWidgets()
lblWidget = argument->createLabel((QWidget *)this);
if ( lblWidget != NULL )
{
- layout->addWidget(lblWidget, counter, 0, Qt::AlignTop);
+ layout->addWidget(lblWidget, counter, 0, Qt::AlignVCenter);
editWidget = argument->createEditor((QWidget *) this);
if ( editWidget != NULL )
{
- layout->addWidget(editWidget, counter, 1, Qt::AlignTop);
+ layout->addWidget(editWidget, counter, 1, Qt::AlignVCenter);
}
counter++;
}