arampl wrote:Does anybody used Tree component?
Can't figure out how to make it work.
P.S. I'm getting an error about "iconwidth" var (nil value) when trying to add node.
The tree object was never finished, so its likely to cause errors if you use it.
duckdotexe wrote:What are the chances you could add a Resize callback to objects? It'd be fired when love.resize is called. It'd be really helpful for resizing toolbars automatically when the window changes size.
I know you can already do that by doing it right in love.resize but I wish I could just do it right on the object.
This won't be added in the official version, as I'm currently not developing Love Frames anymore. However, I am currently working on a new UI library to replace Love Frames which will have support for object resizing and what not.
Nikolai Resokav wrote:This won't be added in the official version, as I'm currently not developing Love Frames anymore. However, I am currently working on a new UI library to replace Love Frames which will have support for object resizing and what not.
Is the code posted anywhere? / What's the status on it?
Wow I made a mistake. I figured it out. Its the font, it doesnt have special characters or numbers. I was about to post that special characters dont work either and it just hit me. Thank you.
Anyone ever encounter a problem with buttons not being clickable?
I checked the source code and by default a new object is clickable, enabled, etc. The hover works as intended, it changes color and all. In fact I CAN click on the button but it doesn't "un-click". Basically I click and it stays pushed in. It's a very basic button, not much to it, kinda testing buttons at this point.
*EDIT
Seems it's not just buttons that aren't working. If I create a frame, I can click on it to drag it around but I am unable to let the frame go. I have to close the game.
speeddown wrote:Anyone ever encounter a problem with buttons not being clickable?
I checked the source code and by default a new object is clickable, enabled, etc. The hover works as intended, it changes color and all. In fact I CAN click on the button but it doesn't "un-click". Basically I click and it stays pushed in. It's a very basic button, not much to it, kinda testing buttons at this point.
*EDIT
Seems it's not just buttons that aren't working. If I create a frame, I can click on it to drag it around but I am unable to let the frame go. I have to close the game.
Did you add loveframes.mousereleased to love.mousereleased?