mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 09:13:15 +08:00
Round size numbers
CURA-6151
This commit is contained in:
parent
ffd7a001fb
commit
3f9b98bd0c
@ -70,9 +70,9 @@ Item
|
||||
{
|
||||
id: marketplaceNotificationIcon
|
||||
color: UM.Theme.getColor("notification_icon")
|
||||
width: installedTabButton.height / 3
|
||||
width: (installedTabButton.height / 3) | 0
|
||||
height: width
|
||||
radius: 0.5 * width
|
||||
radius: (0.5 * width) | 0
|
||||
|
||||
visible: CuraApplication.getPackageManager().packagesWithUpdate.length > 0
|
||||
|
||||
|
@ -122,15 +122,15 @@ Item
|
||||
{
|
||||
id: marketplaceNotificationIcon
|
||||
color: UM.Theme.getColor("notification_icon")
|
||||
width: marketplaceButton.height / 1.5
|
||||
width: (marketplaceButton.height / 1.5) | 0
|
||||
height: width
|
||||
radius: 0.5 * width
|
||||
radius: (0.5 * width) | 0
|
||||
anchors
|
||||
{
|
||||
top: parent.top
|
||||
right: parent.right
|
||||
rightMargin: -0.5 * width
|
||||
topMargin: -0.5 * height
|
||||
rightMargin: (-0.5 * width) | 0
|
||||
topMargin: (-0.5 * height) | 0
|
||||
}
|
||||
visible: CuraApplication.getPackageManager().packagesWithUpdate.length > 0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user