Position and rendering of right-aligned Text
depends on element width
#6739
Labels
a:text
Text rendering, fonts, Text input (mS,bF)
need triaging
Issue that the owner of the area still need to triage
Consider this SlintPad demo:
At least for me, it isn't so obvious in SlintPad, which uses FemtoVG. But this local Skia rendering clearly shows it (Rust lib feature
renderer-skia-opengl
; washed out black and blurriness seems to come from video compression):bad-alignment.mp4
In the first line, the
Text
stays at onewidth
. The other right-alignedText
s should effectively get the samex + width
position, but, for some reason, change their texts' position and rendering when the elementwidth
changes, either by adding text, or by animatingwidth
.The text was updated successfully, but these errors were encountered: