Merge branch 'CURA-5785-Restyle_stage_menu' into CURA-5942_printer_selector

This commit is contained in:
Diego Prado Gesto 2018-11-21 12:18:51 +01:00
commit 4772972145
6 changed files with 199 additions and 161 deletions

View file

@ -50,6 +50,12 @@ Item
property alias expandedHighlightColor: expandedHighlight.color
// What should the radius of the header be. This is also influenced by the headerCornerSide
property alias headerRadius: background.radius
// On what side should the header corners be shown? 1 is down, 2 is left, 3 is up and 4 is right.
property alias headerCornerSide: background.cornerSide
function togglePopup()
{
if(popup.visible)
@ -81,7 +87,8 @@ Item
implicitHeight: 100 * screenScaleFactor
implicitWidth: 400 * screenScaleFactor
Rectangle
RoundedRectangle
{
id: background
property real padding: UM.Theme.getSize("default_margin").width