Position and rendering of right-aligned Text
depends on element width
#6739
Labels
a:text
Text rendering, fonts, Text input (mS,bF)
bug
Something isn't working
priority:low
Lowest priority. The issue is kept open for tracking purpose, but noone is actively working on this
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: