mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 16:51:12 -07:00
Add a rectangle surrounding the settings listview
Contributes to CURA-5941.
This commit is contained in:
parent
4c468831f0
commit
ce6a0676dd
6 changed files with 43 additions and 20 deletions
|
|
@ -10,8 +10,9 @@ import Cura 1.0 as Cura
|
|||
|
||||
import "."
|
||||
|
||||
Item {
|
||||
id: base;
|
||||
Item
|
||||
{
|
||||
id: base
|
||||
|
||||
height: UM.Theme.getSize("section").height
|
||||
|
||||
|
|
@ -105,11 +106,11 @@ Item {
|
|||
|
||||
Label
|
||||
{
|
||||
id: label;
|
||||
id: label
|
||||
|
||||
anchors.left: parent.left;
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: doDepthIndentation ? Math.round((UM.Theme.getSize("section_icon_column").width / 1.2) + ((definition.depth - 1) * UM.Theme.getSize("setting_control_depth_margin").width)) : 0
|
||||
anchors.right: settingControls.left;
|
||||
anchors.right: settingControls.left
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
text: definition.label
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue