mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Add a new property to the ActionButton to indicate whether the button
has a fixed width or the width will be dependant on the content. Contributes to CURA-5786.
This commit is contained in:
parent
b6b60702c0
commit
5dddcbd666
5 changed files with 13 additions and 0 deletions
|
@ -21,6 +21,7 @@ Row
|
|||
textColor: UM.Theme.getColor("main_window_header_button_text_active")
|
||||
textHoverColor: UM.Theme.getColor("main_window_header_button_text_active")
|
||||
onClicked: Qt.openUrlExternally("https://account.ultimaker.com")
|
||||
fixedWidthMode: true
|
||||
}
|
||||
|
||||
Cura.ActionButton
|
||||
|
@ -29,5 +30,6 @@ Row
|
|||
height: UM.Theme.getSize("account_button").height
|
||||
text: catalog.i18nc("@button", "Logout")
|
||||
onClicked: Cura.API.account.logout()
|
||||
fixedWidthMode: true
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue