[KCM] Fix layout: stretch left VBox without margins

Default margins are non-zero for widgets/layouts. Thus, nested widgets
are gonna shrink further and further inward for no good reason.

This patch makes left column of this KCM (the host name, devices list
view and a Refresh button) visually aligned with the QGroupBox on the
right.
This commit is contained in:
ivan tkachenko 2021-12-08 02:56:05 +03:00
parent 14633d4486
commit 9302a2b3be
No known key found for this signature in database
GPG key ID: 4D197017E61437CF

View file

@ -32,6 +32,18 @@
</size>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" name="rename_group_2">
<item>