mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-20 12:39:06 +08:00
Also add save/reset buttons to custom profile.
part of CURA-9347
This commit is contained in:
parent
0ea2830108
commit
40b7233125
@ -52,8 +52,8 @@ Item
|
||||
id: intentSelection
|
||||
onClicked: menu.opened ? menu.close() : menu.open()
|
||||
|
||||
anchors.right: parent.right
|
||||
width: UM.Theme.getSize("print_setup_big_item").width
|
||||
anchors.right: profileWarningReset.left
|
||||
width: UM.Theme.getSize("print_setup_big_item").width - profileWarningReset.width
|
||||
height: textLabel.contentHeight + 2 * UM.Theme.getSize("narrow_margin").height
|
||||
hoverEnabled: true
|
||||
|
||||
@ -152,6 +152,14 @@ Item
|
||||
}
|
||||
}
|
||||
|
||||
ProfileWarningReset
|
||||
{
|
||||
id: profileWarningReset
|
||||
fullWarning: false
|
||||
anchors.right: parent.right
|
||||
width: childrenRect.width
|
||||
}
|
||||
|
||||
QualitiesWithIntentMenu
|
||||
{
|
||||
id: menu
|
||||
|
@ -6,6 +6,7 @@ import QtQuick.Layouts 1.1
|
||||
|
||||
import UM 1.6 as UM
|
||||
import Cura 1.6 as Cura
|
||||
import ".."
|
||||
|
||||
Item
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user