mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-22 05:39:37 +08:00
Ensure that the added labels are also themable
CURA-5785
This commit is contained in:
parent
514fc13045
commit
3fd1cc0e8c
@ -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…
x
Reference in New Issue
Block a user