mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 05:09:06 +08:00
Fix contentWidth reference error in ActionButton
This commit is contained in:
parent
9fab964afe
commit
306f58f96e
@ -98,7 +98,7 @@ Button
|
||||
target: buttonText
|
||||
property: "width"
|
||||
value: button.fixedWidthMode ? button.width - button.leftPadding - button.rightPadding
|
||||
: ((maximumWidth != 0 && contentWidth > maximumWidth) ? maximumWidth : undefined)
|
||||
: ((maximumWidth != 0 && parent.contentWidth > maximumWidth) ? maximumWidth : undefined)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user