Text {
text: "系统设置" font.pixelSize: 1.714*14*(23/8)
}
where font.pixelSize here follows the same computation that goes from "x-large" fontSize to the actual pixelSize.
The 23 in the calculation is the value of GRID_UNIT_PX. When using 23 in the font.pixelSize computation, the actual value of GRID_UNIT_PIX does not matter any more for reproducing the bug.
It also happens with Text and certain font sizes:
Text {
font. pixelSize: 1.714*14*(23/8)
text: "系统设置"
}
where font.pixelSize here follows the same computation that goes from "x-large" fontSize to the actual pixelSize.
The 23 in the calculation is the value of GRID_UNIT_PX. When using 23 in the font.pixelSize computation, the actual value of GRID_UNIT_PIX does not matter any more for reproducing the bug.