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>
This commit is contained in:
Stig Bjørlykke 2015-12-07 13:28:30 +01:00
parent 5f00849b97
commit 993690d1ee
1 changed files with 2 additions and 2 deletions

View File

@ -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++;
}