mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 18:59:11 +08:00
Move properties into account details itself
There isn't really a point to setting them from when the object is created... CURA-7418
This commit is contained in:
parent
ed53557044
commit
1f402569ad
@ -9,9 +9,10 @@ import Cura 1.1 as Cura
|
|||||||
|
|
||||||
Column
|
Column
|
||||||
{
|
{
|
||||||
property var profile: null
|
property var profile: Cura.API.account.userProfile
|
||||||
property var loggedIn: false
|
property bool loggedIn: Cura.API.account.isLoggedIn
|
||||||
property var profileImage: ""
|
property var profileImage: Cura.API.account.profileImageUrl
|
||||||
|
|
||||||
|
|
||||||
padding: UM.Theme.getSize("wide_margin").height
|
padding: UM.Theme.getSize("wide_margin").height
|
||||||
spacing: UM.Theme.getSize("wide_margin").height
|
spacing: UM.Theme.getSize("wide_margin").height
|
||||||
|
@ -133,12 +133,7 @@ Item
|
|||||||
Behavior on opacity { NumberAnimation { duration: 100 } }
|
Behavior on opacity { NumberAnimation { duration: 100 } }
|
||||||
|
|
||||||
contentItem: AccountDetails
|
contentItem: AccountDetails
|
||||||
{
|
{}
|
||||||
id: panel
|
|
||||||
profile: Cura.API.account.userProfile
|
|
||||||
loggedIn: Cura.API.account.isLoggedIn
|
|
||||||
profileImage: Cura.API.account.profileImageUrl
|
|
||||||
}
|
|
||||||
|
|
||||||
background: UM.PointingRectangle
|
background: UM.PointingRectangle
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user