haxeui/haxeui-nme

font size incorrect

Closed this issue · 1 comments

Using included project. Font size of buttons is way to small. It doesn't appear to pick up the CSS when using NME.

-Note
I forced the size to 12 by changing TextDisplayBase at line 103 by adding the trace statements
if (style.fontSize != null) {
format.size = style.fontSize;trace("before="+format.size);format.size=12;trace("now="+format.size);
}
this traces
before=_hx_float(12)
now=12

not sure why the before traces _hx_float may be related to the issue?

Test app / minimal test case

HaxeuiTest.zip

UniversalFonttest.zip

this is fixed with #15