modifier isn’t working in the web application? (Below is desktop.) Worth opening an issue?
e
efemoney
12/26/2023, 2:12 AM
You can find out if the Text actually included the alignment lines correctly by
Copy code
onGloballyPositioned { println("The alignment line is " + it.get(FirstBaseline)) }
My guess is that the values per layoutNode in both platforms are not matching
j
jonas.app
12/26/2023, 4:12 PM
Thx for the hint.
Interestingly on the web the alignment line is always 0.
d
Dima Avdeev
12/28/2023, 8:30 AM
Thanks for this question!
If it is possible - better to create an issue with reproducoble sample on GitHub. Best way to reproduce bug in commonMain sourceSet so it is easier to compaer with Desktop JVM behavior. This sample should runs on Desktop and Web.