Closed hoseyjoe closed 2 years ago
I dont know if it is helpful or not but the Hand cursor doesnt go away when rolling over textfield. I would expect the "I" cursor. Anyway the textfiled appears like abutton
did not mean to close
well I dug into it a little. It seems it is easier than thought. Just add the createText override on haxe\ui\backend\TextInputImpl.hx
hand cursor is still there but there it is. Not sure if it should get default font or the textfield font or....but it works
package haxe.ui.backend;
class TextInputImpl extends TextDisplayImpl {
public function new() {
super();
}
override private function createText():h2d.TextInput {
return new h2d.TextInput(hxd.res.DefaultFont.get());
}
}
you can now enter text
It looks like textfield gets focus but doesnt accept any input
test.zip