bulky-exabyte-6537
05/25/2023, 6:30 AMhaxe
function this_SHOWN(e) {
#if js
// rewrites the dom to replace special markup text with math symbols
mathjax.MathJax.typeset();
#end
}
but the sad part is that haxeui doesn't update the layout to the new size and i'm not sure how to tell it to. invalidateComponent
doesn't work in this case.
xml
<button text="SADSADASDADSADS"/>
<label text="`sum_(i=1)^n i^3=((n(n+1))/2)^2`"/>
<button text="below"/>
https://cdn.discordapp.com/attachments/565569107701923852/1111179374939611197/image.png▾