mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Use pre-calculated control height
It's way faster to not re-compute every single time
This commit is contained in:
parent
d1afc63902
commit
e633b6408e
2 changed files with 2 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ Item
|
|||
{
|
||||
id: settingControls
|
||||
|
||||
height: Math.round(parent.height / 2)
|
||||
height: UM.Theme.getSize("section_control").height
|
||||
spacing: Math.round(UM.Theme.getSize("thick_margin").height / 2)
|
||||
|
||||
anchors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue