I use HtmlTextField to input English or Chinese, which works normally under canvas. root, but when I use HtmlTextField in modal window, the text cannot be displayed normally. Is this related to the layer?
let winLayer = canvas.getLayer(zebkit.ui.WinLayerMix.id);
let win = new zebkit.ui.Window(
'hello world',
new zebkit.ui.web.HtmlTextField('hello world')
);
win.setBounds(10, 10, 500, 300);
win.setSizeable(false);
win.setBorder(new zebkit.draw.Border('gray', 1, 1));
I did a simple test, like the one above, where the text was not displayed in the input field.
I use HtmlTextField to input English or Chinese, which works normally under canvas. root, but when I use HtmlTextField in modal window, the text cannot be displayed normally. Is this related to the layer?
let winLayer = canvas.getLayer(zebkit.ui.WinLayerMix.id);
I did a simple test, like the one above, where the text was not displayed in the input field.