mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Ensure that the added labels are also themable
CURA-5785
This commit is contained in:
parent
514fc13045
commit
3fd1cc0e8c
4 changed files with 10 additions and 1 deletions
|
@ -74,6 +74,8 @@ Item
|
|||
height: parent.height
|
||||
elide: Text.ElideRight
|
||||
font: UM.Theme.getFont("default")
|
||||
color: UM.Theme.getColor("text")
|
||||
|
||||
}
|
||||
|
||||
popupItem: Column
|
||||
|
|
|
@ -38,7 +38,7 @@ Item
|
|||
// Is the "drawer" open?
|
||||
readonly property alias expanded: popup.visible
|
||||
|
||||
property alias expandedHighlightColor: expandedHightlight.color
|
||||
property alias expandedHighlightColor: expandedHighlight.color
|
||||
|
||||
function togglePopup()
|
||||
{
|
||||
|
|
|
@ -32,6 +32,7 @@ Cura.ExpandableComponent
|
|||
height: parent.height
|
||||
elide: Text.ElideRight
|
||||
font: UM.Theme.getFont("default")
|
||||
color: UM.Theme.getColor("text")
|
||||
}
|
||||
|
||||
popupItem: Item
|
||||
|
@ -58,6 +59,7 @@ Cura.ExpandableComponent
|
|||
visible: networkedPrintersModel.items.length > 0
|
||||
height: visible ? contentHeight + 2 * UM.Theme.getSize("default_margin").height : 0
|
||||
font: UM.Theme.getFont("medium_bold")
|
||||
color: UM.Theme.getColor("text")
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
}
|
||||
|
||||
|
@ -99,6 +101,7 @@ Cura.ExpandableComponent
|
|||
visible: virtualPrintersModel.items.length > 0
|
||||
height: visible ? contentHeight + 2 * UM.Theme.getSize("default_margin").height : 0
|
||||
font: UM.Theme.getFont("medium_bold")
|
||||
color: UM.Theme.getColor("text")
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
}
|
||||
|
||||
|
|
|
@ -60,6 +60,8 @@ Cura.ExpandableComponent
|
|||
|
||||
text: model.material_brand
|
||||
elide: Text.ElideRight
|
||||
font: UM.Theme.getFont("default")
|
||||
color: UM.Theme.getColor("text")
|
||||
|
||||
anchors
|
||||
{
|
||||
|
@ -75,6 +77,8 @@ Cura.ExpandableComponent
|
|||
{
|
||||
text: model.material
|
||||
elide: Text.ElideRight
|
||||
font: UM.Theme.getFont("default")
|
||||
color: UM.Theme.getColor("text")
|
||||
|
||||
anchors
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue