mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-19 20:59:11 +08:00
Use textwidth instead of round
CURA-5785 Co-Authored-By: nallath <nallath@gmail.com>
This commit is contained in:
parent
fe15a0a513
commit
816d844258
@ -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…
x
Reference in New Issue
Block a user