Make the settings panel resizable

You can now drag the bottom side of the panel to make it bigger or smaller.

Contributes to issue CURA-6054.
This commit is contained in:
Ghostkeeper 2018-12-24 15:31:47 +01:00
parent f627560751
commit c6f4cb4927
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
3 changed files with 49 additions and 6 deletions

View file

@ -11,7 +11,6 @@ import Cura 1.0 as Cura
Item
{
id: customPrintSetup
height: childrenRect.height + padding
property real padding: UM.Theme.getSize("default_margin").width
property bool multipleExtruders: extrudersModel.count > 1
@ -98,15 +97,15 @@ Item
Rectangle
{
height: UM.Theme.getSize("print_setup_widget").height
anchors
{
top: tabBar.visible ? tabBar.bottom : globalProfileRow.bottom
topMargin: -UM.Theme.getSize("default_lining").width
left: parent.left
leftMargin: parent.padding
right: parent.right
rightMargin: parent.padding
topMargin: -UM.Theme.getSize("default_lining").width
bottom: parent.bottom
}
z: tabBar.z - 1
// Don't show the border when only one extruder