Löve Frames - A GUI Library

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
Nikolai Resokav
Party member
Posts: 140
Joined: Wed Apr 28, 2010 12:51 am
Location: United States

Re: Löve Frames - A GUI Library

Post by Nikolai Resokav » Sat Sep 19, 2015 11:23 pm

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.

User avatar
Guard13007
Party member
Posts: 126
Joined: Sat Oct 25, 2014 3:42 am
Location: Internet, USA
Contact:

Re: Löve Frames - A GUI Library

Post by Guard13007 » Mon Sep 28, 2015 11:33 pm

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?

bobbyjones
Party member
Posts: 712
Joined: Sat Apr 26, 2014 7:46 pm

Re: Löve Frames - A GUI Library

Post by bobbyjones » Tue Sep 29, 2015 12:02 am

He has been hush hush about it. I think it's hosted on his own server currently.
Check out my most recent medium post, please give feedback.
Link

Muzz
Citizen
Posts: 54
Joined: Sun Jun 28, 2015 1:24 pm

Re: Löve Frames - A GUI Library

Post by Muzz » Tue Sep 29, 2015 3:20 am

Oh man, really interested to see how the new ui is.

It must be a serious upgrade if it was enough to remake it from scratch :D!

User avatar
speeddown
Prole
Posts: 38
Joined: Sun Dec 20, 2015 5:58 pm
Location: Lafayette, LA, USA

Re: Löve Frames - A GUI Library

Post by speeddown » Mon Jan 11, 2016 6:27 am

Hey I'm using LoveFrames in my project and I'm having an issue with the text object not displaying numbers at all.

It will display text fine but using numbers is a no go. Anyone know anything about this issue?

Works:
text = loveframes.Create("text", frame)
text:SetText("working text")


Doesn't Work:
text = loveframes.Create("text", frame)
text:SetText(40)
--or--
text:SetText(""..40)
--or--
text:SetText("40")

User avatar
Jack5500
Party member
Posts: 149
Joined: Wed Dec 07, 2011 8:38 pm
Location: Hamburg, Germany

Re: Löve Frames - A GUI Library

Post by Jack5500 » Mon Jan 11, 2016 9:47 am

speeddown wrote:Hey I'm using LoveFrames in my project and I'm having an issue with the text object not displaying numbers at all.

It will display text fine but using numbers is a no go. Anyone know anything about this issue?

Works:
text = loveframes.Create("text", frame)
text:SetText("working text")


Doesn't Work:
text = loveframes.Create("text", frame)
text:SetText(40)
--or--
text:SetText(""..40)
--or--
text:SetText("40")
Works for me, maybe you could show us more of your code

User avatar
speeddown
Prole
Posts: 38
Joined: Sun Dec 20, 2015 5:58 pm
Location: Lafayette, LA, USA

Re: Löve Frames - A GUI Library

Post by speeddown » Mon Jan 11, 2016 3:01 pm

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.

User avatar
speeddown
Prole
Posts: 38
Joined: Sun Dec 20, 2015 5:58 pm
Location: Lafayette, LA, USA

Re: Löve Frames - A GUI Library

Post by speeddown » Wed Jan 13, 2016 11:01 pm

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.

User avatar
Nikolai Resokav
Party member
Posts: 140
Joined: Wed Apr 28, 2010 12:51 am
Location: United States

Re: Löve Frames - A GUI Library

Post by Nikolai Resokav » Wed Jan 13, 2016 11:42 pm

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?

User avatar
murks
Party member
Posts: 185
Joined: Tue Jun 03, 2014 4:18 pm

Re: Löve Frames - A GUI Library

Post by murks » Sun Jan 17, 2016 10:07 pm

Does this library work with Löve 0.10.0?

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests