Closed hoseyjoe closed 2 years ago
Setting height/width of Image does work in RayLib. Same lines work in HL. The monkey, in this case, loads but is not resized. The image layers under other items so HaxeUI thinks of it as resized. The code in question is in F2.hx
var layer = addImage("library/monkey.png", 6); layer.component.width = 40; layer.component.height = 40;
project.zip
This should be fixed now:
One of the benefits of generating the externs is you get all the functions now, which is nice :)
works for me
Setting height/width of Image does work in RayLib. Same lines work in HL. The monkey, in this case, loads but is not resized. The image layers under other items so HaxeUI thinks of it as resized. The code in question is in F2.hx
var layer = addImage("library/monkey.png", 6); layer.component.width = 40; layer.component.height = 40;
project.zip