Remove margins that keep listview items from being under the scrollbar. Instead set width of listView smaller so it doesn't overlap.

Update per object setting visibility dialog to have same category design as SettingVisibilityCategory.qml and SettingCategory.qml

CURA-9005
This commit is contained in:
j.delarago 2022-03-07 13:20:05 +01:00
parent 798e86646c
commit 76d9cf6f4d
5 changed files with 12 additions and 59 deletions

View file

@ -191,7 +191,7 @@ Item
}
clip: true
cacheBuffer: 1000000 // Set a large cache to effectively just cache every list item.
ScrollBar.vertical: UM.ScrollBar {}
ScrollBar.vertical: UM.ScrollBar { id: scrollBar }
model: UM.SettingDefinitionsModel
{
@ -218,7 +218,7 @@ Item
{
id: delegate
width: contents.width
width: contents.width - scrollBar.width
Behavior on height { NumberAnimation { duration: 100 } }
opacity: enabled ? 1 : 0
Behavior on opacity { NumberAnimation { duration: 100 } }