mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Round size numbers
CURA-6151
This commit is contained in:
parent
ffd7a001fb
commit
3f9b98bd0c
2 changed files with 6 additions and 6 deletions
|
@ -70,9 +70,9 @@ Item
|
||||||
{
|
{
|
||||||
id: marketplaceNotificationIcon
|
id: marketplaceNotificationIcon
|
||||||
color: UM.Theme.getColor("notification_icon")
|
color: UM.Theme.getColor("notification_icon")
|
||||||
width: installedTabButton.height / 3
|
width: (installedTabButton.height / 3) | 0
|
||||||
height: width
|
height: width
|
||||||
radius: 0.5 * width
|
radius: (0.5 * width) | 0
|
||||||
|
|
||||||
visible: CuraApplication.getPackageManager().packagesWithUpdate.length > 0
|
visible: CuraApplication.getPackageManager().packagesWithUpdate.length > 0
|
||||||
|
|
||||||
|
|
|
@ -122,15 +122,15 @@ Item
|
||||||
{
|
{
|
||||||
id: marketplaceNotificationIcon
|
id: marketplaceNotificationIcon
|
||||||
color: UM.Theme.getColor("notification_icon")
|
color: UM.Theme.getColor("notification_icon")
|
||||||
width: marketplaceButton.height / 1.5
|
width: (marketplaceButton.height / 1.5) | 0
|
||||||
height: width
|
height: width
|
||||||
radius: 0.5 * width
|
radius: (0.5 * width) | 0
|
||||||
anchors
|
anchors
|
||||||
{
|
{
|
||||||
top: parent.top
|
top: parent.top
|
||||||
right: parent.right
|
right: parent.right
|
||||||
rightMargin: -0.5 * width
|
rightMargin: (-0.5 * width) | 0
|
||||||
topMargin: -0.5 * height
|
topMargin: (-0.5 * height) | 0
|
||||||
}
|
}
|
||||||
visible: CuraApplication.getPackageManager().packagesWithUpdate.length > 0
|
visible: CuraApplication.getPackageManager().packagesWithUpdate.length > 0
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue