Show "Pausing...", "Aborting...", and "Resuming..." texts

Contributes to CL-1126
This commit is contained in:
Ian Paschal 2018-11-05 15:45:17 +01:00
parent 90726ecbff
commit 1abd0b3499
2 changed files with 39 additions and 20 deletions

View file

@ -12,13 +12,12 @@ Button {
color: UM.Theme.getColor("monitor_context_menu_highlight");
}
contentItem: Label {
color: UM.Theme.getColor("text");
color: enabled ? UM.Theme.getColor("text") : UM.Theme.getColor("text_inactive");
text: parent.text
horizontalAlignment: Text.AlignLeft;
verticalAlignment: Text.AlignVCenter;
}
height: 39 * screenScaleFactor; // TODO: Theme!
hoverEnabled: true;
visible: enabled;
width: parent.width;
}