Qt: Fix extra margins in pad settings panel

This commit is contained in:
Connor McLaughlin 2020-01-24 14:50:52 +10:00
parent 1cdd4e01fb
commit 98eb71aa3f

View file

@ -18,6 +18,7 @@ PortSettingsWidget::~PortSettingsWidget() = default;
void PortSettingsWidget::createUi()
{
QGridLayout* layout = new QGridLayout(this);
layout->setContentsMargins(0, 0, 0, 0);
m_tab_widget = new QTabWidget(this);
for (int i = 0; i < static_cast<int>(m_port_ui.size()); i++)