Update Settings view category items to new style

Removed the fixed height from the SettingView list so that the SettingItems can have a larger height than the SettingCategory

CURA-9005
This commit is contained in:
j.delarago 2022-03-04 17:23:36 +01:00
parent 45fa33584b
commit 06a30a702c
5 changed files with 36 additions and 29 deletions

View file

@ -13,8 +13,7 @@ import "."
Item
{
id: base
height: UM.Theme.getSize("section").height
height: enabled ? UM.Theme.getSize("section").height + UM.Theme.getSize("narrow_margin").height: 0
anchors.left: parent.left
anchors.right: parent.right
// To avoid overlapping with the scrollBars