mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 17:48:59 +08:00
Avoid using fractional pixel sizes and positions. It causes poor text rendering on Windows (and may be others)
This commit is contained in:
parent
0191215215
commit
ebb8437bff
@ -189,7 +189,7 @@ Rectangle
|
|||||||
PrintCoreConfiguration
|
PrintCoreConfiguration
|
||||||
{
|
{
|
||||||
id: leftExtruderInfo
|
id: leftExtruderInfo
|
||||||
width: (parent.width - extruderSeperator.width) / 2
|
width: Math.floor((parent.width - extruderSeperator.width) / 2)
|
||||||
printCoreConfiguration: printer.configuration[0]
|
printCoreConfiguration: printer.configuration[0]
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -204,7 +204,7 @@ Rectangle
|
|||||||
PrintCoreConfiguration
|
PrintCoreConfiguration
|
||||||
{
|
{
|
||||||
id: rightExtruderInfo
|
id: rightExtruderInfo
|
||||||
width: (parent.width - extruderSeperator.width) / 2
|
width: Math.floor((parent.width - extruderSeperator.width) / 2)
|
||||||
printCoreConfiguration: printer.configuration[1]
|
printCoreConfiguration: printer.configuration[1]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user