haxeui / haxeui-raylib

RayLib backend for HaxeUI
MIT License
6 stars 1 forks source link

Resizing image doesnt work #5

Closed hoseyjoe closed 2 years ago

hoseyjoe commented 3 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

ianharrigan commented 3 years ago

This should be fixed now:

image

One of the benefits of generating the externs is you get all the functions now, which is nice :)

hoseyjoe commented 2 years ago

works for me