mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-29 22:01:14 -07:00
Use textwidth instead of round
CURA-5785 Co-Authored-By: nallath <nallath@gmail.com>
This commit is contained in:
parent
fe15a0a513
commit
816d844258
1 changed files with 2 additions and 2 deletions
|
|
@ -134,7 +134,7 @@ Cura.ExpandableComponent
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
property var model: extrudersModel.items[tabBar.currentIndex]
|
property var model: extrudersModel.items[tabBar.currentIndex]
|
||||||
property real textWidth: Math.round(width * 0.3)
|
property real textWidth: Math.round(width * 0.3)
|
||||||
property real controlWidth: Math.round(width * 0.7)
|
property real controlWidth: width - textWidth
|
||||||
Column
|
Column
|
||||||
{
|
{
|
||||||
spacing: UM.Theme.getSize("default_margin").height
|
spacing: UM.Theme.getSize("default_margin").height
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue