mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 06:03:15 +08:00
Make time estimates tooltip also appear on clock icon
Perhaps that reduces the complaints we have about that thing not appearing.
This commit is contained in:
parent
007b529f00
commit
d4824a8ff1
@ -157,19 +157,6 @@ Item {
|
|||||||
width: parent.width
|
width: parent.width
|
||||||
height: parent.height
|
height: parent.height
|
||||||
|
|
||||||
UM.RecolorImage
|
|
||||||
{
|
|
||||||
id: timeIcon
|
|
||||||
anchors.right: timeSpecPerFeatureTooltipArea.left
|
|
||||||
anchors.rightMargin: UM.Theme.getSize("default_margin").width/2
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
|
||||||
width: UM.Theme.getSize("save_button_specs_icons").width
|
|
||||||
height: UM.Theme.getSize("save_button_specs_icons").height
|
|
||||||
sourceSize.width: width
|
|
||||||
sourceSize.height: width
|
|
||||||
color: UM.Theme.getColor("text_subtext")
|
|
||||||
source: UM.Theme.getIcon("print_time")
|
|
||||||
}
|
|
||||||
UM.TooltipArea
|
UM.TooltipArea
|
||||||
{
|
{
|
||||||
id: timeSpecPerFeatureTooltipArea
|
id: timeSpecPerFeatureTooltipArea
|
||||||
@ -205,10 +192,25 @@ Item {
|
|||||||
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
|
||||||
|
UM.RecolorImage
|
||||||
|
{
|
||||||
|
id: timeIcon
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.top: parent.top
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
width: UM.Theme.getSize("save_button_specs_icons").width
|
||||||
|
height: UM.Theme.getSize("save_button_specs_icons").height
|
||||||
|
sourceSize.width: width
|
||||||
|
sourceSize.height: width
|
||||||
|
color: UM.Theme.getColor("text_subtext")
|
||||||
|
source: UM.Theme.getIcon("print_time")
|
||||||
|
}
|
||||||
|
|
||||||
Text
|
Text
|
||||||
{
|
{
|
||||||
id: timeSpec
|
id: timeSpec
|
||||||
anchors.left: parent.left
|
anchors.left: timeIcon.right
|
||||||
|
anchors.leftMargin: UM.Theme.getSize("default_margin").width / 2
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
font: UM.Theme.getFont("small")
|
font: UM.Theme.getFont("small")
|
||||||
color: UM.Theme.getColor("text_subtext")
|
color: UM.Theme.getColor("text_subtext")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user