mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
OP-1182 minor tweak of telemetry monitor widget margin for better centering
This commit is contained in:
parent
0c8756b496
commit
a234f52b6d
@ -60,8 +60,7 @@ ConnectionManager::ConnectionManager(Internal::MainWindow *mainWindow) :
|
||||
// put everything together
|
||||
QHBoxLayout *layout = new QHBoxLayout;
|
||||
layout->setSpacing(6);
|
||||
// cheat a bit with the margin to "nicely" center things vertically
|
||||
layout->setContentsMargins(6, 0, 4, 2);
|
||||
layout->setContentsMargins(5, 2, 5, 2);
|
||||
setLayout(layout);
|
||||
|
||||
layout->addWidget(new QLabel(tr("Connections:")), 0, Qt::AlignVCenter);
|
||||
|
Loading…
x
Reference in New Issue
Block a user