mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-17 11:47:50 -06:00
tiny improvements
This commit is contained in:
parent
016cc4e48f
commit
5499a4cc4c
3 changed files with 8 additions and 6 deletions
|
@ -13,11 +13,12 @@ import "."
|
||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
id: base
|
id: base
|
||||||
height: enabled ? UM.Theme.getSize("section").height + UM.Theme.getSize("narrow_margin").height: 0
|
height: enabled ? UM.Theme.getSize("section").height : 0
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
|
|
||||||
// To avoid overlapping with the scrollBars
|
// To avoid overlapping with the scrollBars
|
||||||
anchors.rightMargin: 2 * UM.Theme.getSize("thin_margin").width
|
//anchors.rightMargin: UM.Theme.getSize("thin_margin").width
|
||||||
|
|
||||||
property alias contents: controlContainer.children
|
property alias contents: controlContainer.children
|
||||||
property alias hovered: mouse.containsMouse
|
property alias hovered: mouse.containsMouse
|
||||||
|
|
|
@ -180,7 +180,6 @@ Item
|
||||||
ListView
|
ListView
|
||||||
{
|
{
|
||||||
id: contents
|
id: contents
|
||||||
|
|
||||||
anchors
|
anchors
|
||||||
{
|
{
|
||||||
top: filterContainer.bottom
|
top: filterContainer.bottom
|
||||||
|
@ -218,7 +217,7 @@ Item
|
||||||
{
|
{
|
||||||
id: delegate
|
id: delegate
|
||||||
|
|
||||||
width: contents.width - scrollBar.width
|
width: contents.width - (scrollBar.width +UM.Theme.getSize("narrow_margin").width)
|
||||||
Behavior on height { NumberAnimation { duration: 100 } }
|
Behavior on height { NumberAnimation { duration: 100 } }
|
||||||
opacity: enabled ? 1 : 0
|
opacity: enabled ? 1 : 0
|
||||||
Behavior on opacity { NumberAnimation { duration: 100 } }
|
Behavior on opacity { NumberAnimation { duration: 100 } }
|
||||||
|
|
|
@ -524,9 +524,11 @@
|
||||||
|
|
||||||
"extruder_icon": [2.5, 2.5],
|
"extruder_icon": [2.5, 2.5],
|
||||||
|
|
||||||
"section": [0.0, 2],
|
"section": [0.0, 2.5],
|
||||||
|
"section_header": [0.0, 2.5],
|
||||||
|
|
||||||
"section_control": [0, 1],
|
"section_control": [0, 1],
|
||||||
"section_icon": [2, 2],
|
"section_icon": [1.5, 1.5],
|
||||||
"section_icon_column": [2.5, 2.5],
|
"section_icon_column": [2.5, 2.5],
|
||||||
|
|
||||||
"setting": [25.0, 1.8],
|
"setting": [25.0, 1.8],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue