Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 66e05cb9 authored by Thomas Surrel's avatar Thomas Surrel

[Device Automounter KCM] Improve the tree view header spacing

Test Plan:
{F6461039}
{F6461040}

Reviewers: #vdg, davidedmundson, ngraham

Reviewed By: #vdg, davidedmundson, ngraham

Subscribers: ngraham, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D17401
parent 9ac9e0a1
......@@ -57,6 +57,9 @@ DeviceAutomounterKCM::DeviceAutomounterKCM(QWidget *parent, const QVariantList &
m_devices = new DeviceModel(this);
deviceView->setModel(m_devices);
deviceView->header()->setSectionResizeMode(QHeaderView::ResizeToContents);
deviceView->header()->setSectionResizeMode(0, QHeaderView::Stretch);
auto emitChanged = [this] {
emit changed();
};
......
......@@ -122,7 +122,10 @@ If "Enable automatic mounting of removable media" is unchecked, the ov
<bool>false</bool>
</property>
<attribute name="headerShowSortIndicator" stdset="0">
<bool>true</bool>
<bool>false</bool>
</attribute>
<attribute name="headerStretchLastSection">
<bool>false</bool>
</attribute>
</widget>
</item>
......
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