mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -06:00
Set header border and color by default in ExpandablePopup and Component
CURA-8202
This commit is contained in:
parent
0505842235
commit
a7446d681f
7 changed files with 12 additions and 12 deletions
|
@ -50,6 +50,9 @@ Item
|
|||
|
||||
property alias headerBackgroundBorder: background.border
|
||||
|
||||
// Whether or not to show the background border
|
||||
property bool enableHeaderBackgroundBorder: true
|
||||
|
||||
// What icon should be displayed on the right.
|
||||
property alias iconSource: collapseButton.source
|
||||
|
||||
|
@ -110,6 +113,9 @@ Item
|
|||
id: background
|
||||
property real padding: UM.Theme.getSize("default_margin").width
|
||||
|
||||
border.width: base.enableHeaderBackgroundBorder ? UM.Theme.getSize("default_lining").width : 0
|
||||
border.color: UM.Theme.getColor("lining")
|
||||
|
||||
color: base.enabled ? headerBackgroundColor : UM.Theme.getColor("disabled")
|
||||
anchors.fill: parent
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue