mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 06:23:59 -06:00
Fix some layout issues
CURA-7418
This commit is contained in:
parent
a7e7ddf4b5
commit
0edb93176a
4 changed files with 12 additions and 4 deletions
|
@ -131,7 +131,7 @@ Item
|
|||
|
||||
opacity: opened ? 1 : 0
|
||||
Behavior on opacity { NumberAnimation { duration: 100 } }
|
||||
padding: UM.Theme.getSize("wide_margin").height
|
||||
padding: 0
|
||||
contentItem: AccountDetails
|
||||
{}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ import Cura 1.1 as Cura
|
|||
Column
|
||||
{
|
||||
spacing: UM.Theme.getSize("default_margin").width
|
||||
|
||||
padding: UM.Theme.getSize("default_margin").width
|
||||
Image
|
||||
{
|
||||
id: machinesImage
|
||||
|
|
|
@ -11,7 +11,6 @@ Row // Sync state icon + message
|
|||
id: syncRow
|
||||
width: childrenRect.width
|
||||
height: childrenRect.height
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
spacing: UM.Theme.getSize("narrow_margin").height
|
||||
|
||||
states: [
|
||||
|
@ -49,7 +48,6 @@ Row // Sync state icon + message
|
|||
id: palette
|
||||
}
|
||||
|
||||
|
||||
UM.RecolorImage
|
||||
{
|
||||
id: icon
|
||||
|
@ -91,6 +89,7 @@ Row // Sync state icon + message
|
|||
color: UM.Theme.getColor("text")
|
||||
font: UM.Theme.getFont("medium")
|
||||
renderType: Text.NativeRendering
|
||||
width: contentWidth + UM.Theme.getSize("default_margin").height
|
||||
height: contentHeight
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
visible: !Cura.API.account.manualSyncEnabled
|
||||
|
@ -105,6 +104,7 @@ Row // Sync state icon + message
|
|||
renderType: Text.NativeRendering
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
height: contentHeight
|
||||
width: contentWidth + UM.Theme.getSize("default_margin").height
|
||||
visible: Cura.API.account.manualSyncEnabled
|
||||
|
||||
MouseArea
|
||||
|
|
|
@ -10,11 +10,17 @@ import Cura 1.1 as Cura
|
|||
Column
|
||||
{
|
||||
spacing: UM.Theme.getSize("narrow_margin").height
|
||||
topPadding: UM.Theme.getSize("default_margin").height
|
||||
bottomPadding: UM.Theme.getSize("default_margin").height
|
||||
width: childrenRect.width
|
||||
|
||||
Item
|
||||
{
|
||||
id: accountInfo
|
||||
width: childrenRect.width
|
||||
height: childrenRect.height
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
||||
AvatarImage
|
||||
{
|
||||
id: avatar
|
||||
|
@ -30,6 +36,8 @@ Column
|
|||
anchors.left: avatar.right
|
||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
||||
spacing: UM.Theme.getSize("narrow_margin").height
|
||||
width: childrenRect.width
|
||||
height: childrenRect.height
|
||||
Label
|
||||
{
|
||||
id: username
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue