mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -06:00
Round margins
CURA-5435
This commit is contained in:
parent
a8173344a3
commit
3fefdad14b
1 changed files with 2 additions and 2 deletions
|
@ -40,9 +40,9 @@ Item
|
||||||
Column
|
Column
|
||||||
{
|
{
|
||||||
id: pluginInfo
|
id: pluginInfo
|
||||||
topPadding: UM.Theme.getSize("default_margin").height / 2
|
topPadding: Math.floor(UM.Theme.getSize("default_margin").height / 2)
|
||||||
property var color: model.type === "plugin" && !isEnabled ? UM.Theme.getColor("lining") : UM.Theme.getColor("text")
|
property var color: model.type === "plugin" && !isEnabled ? UM.Theme.getColor("lining") : UM.Theme.getColor("text")
|
||||||
width: tileRow.width - (authorInfo.width + pluginActions.width + 2 * tileRow.spacing + ((disableButton.visible) ? disableButton.width + tileRow.spacing : 0))
|
width: Math.floor(tileRow.width - (authorInfo.width + pluginActions.width + 2 * tileRow.spacing + ((disableButton.visible) ? disableButton.width + tileRow.spacing : 0)))
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
text: model.name
|
text: model.name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue