mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00
Fix wrapping in sync menu
This commit is contained in:
parent
0932252ca3
commit
ddc43446e6
@ -83,6 +83,7 @@ Row // Sync state icon + message
|
|||||||
// text is determined by State
|
// text is determined by State
|
||||||
font: UM.Theme.getFont("medium")
|
font: UM.Theme.getFont("medium")
|
||||||
width: contentWidth + UM.Theme.getSize("default_margin").height
|
width: contentWidth + UM.Theme.getSize("default_margin").height
|
||||||
|
wrapMode: Text.NoWrap
|
||||||
height: contentHeight
|
height: contentHeight
|
||||||
visible: !Cura.API.account.manualSyncEnabled && !Cura.API.account.updatePackagesEnabled
|
visible: !Cura.API.account.manualSyncEnabled && !Cura.API.account.updatePackagesEnabled
|
||||||
}
|
}
|
||||||
@ -94,6 +95,7 @@ Row // Sync state icon + message
|
|||||||
color: UM.Theme.getColor("text_link")
|
color: UM.Theme.getColor("text_link")
|
||||||
font: UM.Theme.getFont("medium")
|
font: UM.Theme.getFont("medium")
|
||||||
height: contentHeight
|
height: contentHeight
|
||||||
|
wrapMode: Text.NoWrap
|
||||||
width: contentWidth + UM.Theme.getSize("default_margin").height
|
width: contentWidth + UM.Theme.getSize("default_margin").height
|
||||||
visible: Cura.API.account.updatePackagesEnabled
|
visible: Cura.API.account.updatePackagesEnabled
|
||||||
|
|
||||||
@ -113,6 +115,7 @@ Row // Sync state icon + message
|
|||||||
text: catalog.i18nc("@button", "Check for account updates")
|
text: catalog.i18nc("@button", "Check for account updates")
|
||||||
color: UM.Theme.getColor("text_link")
|
color: UM.Theme.getColor("text_link")
|
||||||
font: UM.Theme.getFont("medium")
|
font: UM.Theme.getFont("medium")
|
||||||
|
wrapMode: Text.NoWrap
|
||||||
height: contentHeight
|
height: contentHeight
|
||||||
width: contentWidth + UM.Theme.getSize("default_margin").height
|
width: contentWidth + UM.Theme.getSize("default_margin").height
|
||||||
visible: Cura.API.account.manualSyncEnabled
|
visible: Cura.API.account.manualSyncEnabled
|
||||||
|
Loading…
x
Reference in New Issue
Block a user