mammoth-plastic-35593
10/23/2021, 5:35 PMearly-truck-71225
10/23/2021, 5:36 PMmammoth-plastic-35593
10/23/2021, 6:40 PMgit versions does look to have fixed the rendering issue. Thanks! I've marked that down so I can make sure to keep up with git versions going forward. It looks like the way to change the font size is through the customStyle if I want to do it programmatically. And use the property font-size if I want to style it in the xml.
Thanks for the sanity check here!bright-gpu-74537
10/23/2021, 7:16 PMmammoth-plastic-35593
10/24/2021, 5:51 AMtextfield or registering onChange events with the text field (either will work for what I'm doing)
I've got this in my xml (simplifying it to remove sizing stuff):
xml
<textfield id="inputText" placeholder="Sample Text"/>
and grabbing it by the id doesn't seem to behave as I'd expect (menu is the instance created with the build macro)
haxe
trace(menu.inputText.text); // null
menu.inputText.onChange = myFunc; // never gets called
menu.inputText.onClick = myFunc; // Never gets called
Are there any docs that describe the correct way to use the textfield component?bright-gpu-74537
10/24/2021, 7:12 AMbright-gpu-74537
10/24/2021, 7:12 AMbright-gpu-74537
10/24/2021, 8:53 AMbright-gpu-74537
10/24/2021, 8:54 AMxml
<textfield id="testField" onchange="status.text = 'changed: ' + this.text;" />
<label id="status" />bright-gpu-74537
10/24/2021, 9:15 AMmammoth-plastic-35593
10/24/2021, 4:14 PMfierce-soccer-8550
10/24/2021, 8:30 PMbright-gpu-74537
10/24/2021, 8:35 PMbright-gpu-74537
10/24/2021, 8:35 PMbright-gpu-74537
10/24/2021, 8:36 PMbright-gpu-74537
10/24/2021, 8:37 PMfierce-soccer-8550
10/24/2021, 8:38 PMfierce-soccer-8550
10/24/2021, 8:40 PMbright-gpu-74537
10/24/2021, 8:40 PMbright-gpu-74537
10/24/2021, 8:40 PMbright-gpu-74537
10/24/2021, 8:41 PMbright-gpu-74537
10/24/2021, 8:42 PMbright-gpu-74537
10/24/2021, 8:42 PMfierce-soccer-8550
10/24/2021, 8:48 PMbright-gpu-74537
10/24/2021, 8:49 PMfierce-soccer-8550
10/24/2021, 8:49 PMbright-gpu-74537
10/24/2021, 8:50 PMfierce-soccer-8550
10/24/2021, 8:51 PMbright-gpu-74537
10/24/2021, 8:52 PMbright-gpu-74537
10/24/2021, 8:53 PM