haxeui / haxeui-openfl

The OpenFL backend of the HaxeUI framework -
http://haxeui.org
MIT License
42 stars 14 forks source link

Custom theme shows blank screen #45

Closed AlexHaxe closed 3 years ago

AlexHaxe commented 5 years ago

Check out custom_style branch of tableview demo https://github.com/AlexHaxe/haxeui-tableview-demo/tree/custom_style and compile it with neko or C++.

It shows a blank screen with a few black dots and some images (pdf.png), but it doesn't show a TableView component.

As soon as you remove ThemeManager.instance.applyTheme("MyStyle"); from Main.hx you see a normal TableView component with some data.

It doesn't seem to matter what's inside style.css, even an empty file will produce the same results.

I am testing with latest haxe4 (rc5 or after), haxeui-core, haxeui-openfl, openfl and lime - all git versions on Linux (C++ and neko)