mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:35:57 +08:00
Change context menu button size
Contributes to CL-1150
This commit is contained in:
parent
7340b6dbc4
commit
616ec13457
@ -25,7 +25,7 @@ Item {
|
|||||||
}
|
}
|
||||||
contentItem: Label {
|
contentItem: Label {
|
||||||
color: UM.Theme.getColor("monitor_context_menu_dots");
|
color: UM.Theme.getColor("monitor_context_menu_dots");
|
||||||
font.pixelSize: 25 * screenScaleFactor;
|
font.pixelSize: 32 * screenScaleFactor;
|
||||||
horizontalAlignment: Text.AlignHCenter;
|
horizontalAlignment: Text.AlignHCenter;
|
||||||
text: button.text;
|
text: button.text;
|
||||||
verticalAlignment: Text.AlignVCenter;
|
verticalAlignment: Text.AlignVCenter;
|
||||||
@ -41,7 +41,7 @@ Item {
|
|||||||
var states = ["queued", "sent_to_printer", "pre_print", "printing", "pausing", "paused", "resuming"];
|
var states = ["queued", "sent_to_printer", "pre_print", "printing", "pausing", "paused", "resuming"];
|
||||||
return states.indexOf(printJob.state) !== -1;
|
return states.indexOf(printJob.state) !== -1;
|
||||||
}
|
}
|
||||||
width: 35 * screenScaleFactor; // TODO: Theme!
|
width: 36 * screenScaleFactor; // TODO: Theme!
|
||||||
}
|
}
|
||||||
|
|
||||||
Popup {
|
Popup {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user