Remove border around profile widget to save a few pixels in the UI

parent f20a0b4c
......@@ -40,7 +40,7 @@ ProfileWidget::ProfileWidget(QWidget *parent)
m_originalProfile = QStringLiteral("invalid");
setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
auto *lay = new QVBoxLayout;
lay->setContentsMargins(0, 0, 0, 0);
auto *labelLay = new QHBoxLayout;
QLabel *fpsLabel = new QLabel(i18n("Fps"), this);
fpsFilt = new QComboBox(this);
......
......@@ -71,6 +71,7 @@ ProjectSettings::ProjectSettings(KdenliveDoc *doc, QMap<QString, QString> metada
setupUi(this);
tabWidget->setTabBarAutoHide(true);
auto *vbox = new QVBoxLayout;
vbox->setContentsMargins(0, 0, 0, 0);
m_pw = new ProfileWidget(this);
vbox->addWidget(m_pw);
profile_box->setLayout(vbox);
......
......@@ -91,7 +91,11 @@
</spacer>
</item>
<item row="0" column="0" colspan="5">
<widget class="QGroupBox" name="profile_box"/>
<widget class="QGroupBox" name="profile_box">
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_6">
......
......@@ -117,6 +117,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item row="7" column="0" colspan="4">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment