Löve Frames - A GUI Library

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
Lafolie
Inner party member
Posts: 809
Joined: Tue Apr 05, 2011 2:59 pm
Location: SR388
Contact:

Re: Löve Frames - A GUI Library

Post by Lafolie »

Once again you post a brilliant piece of work.
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.
User avatar
randommeme
Prole
Posts: 1
Joined: Wed Aug 01, 2012 10:19 am

Re: Löve Frames - A GUI Library

Post by randommeme »

Beautiful work!

I have been programming for many years, but I'm relatively new to Lua and even more new to Love... so please forgive me if my question has an obvious answer.

I am trying to display some text in a text object when I don't know how many lines it will take to display. Is it possible to get that value from the "text" object so that I can resize its container based on that value? Or is there a way to have that happen already?
Öbey
Prole
Posts: 13
Joined: Wed Aug 08, 2012 7:18 am

Re: Löve Frames - A GUI Library

Post by Öbey »

It is great but license is CC-BY-SA. Does that mean, if I use your library, I need to release my game under a similar license because of the SA clause of CC-BY-SA license?
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Löve Frames - A GUI Library

Post by bartbes »

As far as I know that only pertains to modifications of it, but maybe his view on this is different. (Licenses and interpretation...)
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 »

randommeme wrote:Beautiful work!

I have been programming for many years, but I'm relatively new to Lua and even more new to Love... so please forgive me if my question has an obvious answer.

I am trying to display some text in a text object when I don't know how many lines it will take to display. Is it possible to get that value from the "text" object so that I can resize its container based on that value? Or is there a way to have that happen already?
Currently the text object does not support this feature. However, this might be helpful to you: https://love2d.org/wiki/Font:getWrap
Öbey wrote:It is great but license is CC-BY-SA. Does that mean, if I use your library, I need to release my game under a similar license because of the SA clause of CC-BY-SA license?
The Löve Frames license only applies to Löve Frames. Just leave the original license that Löve Frames came with in the directory you installed it to.
User avatar
Petunien
Party member
Posts: 191
Joined: Fri Feb 03, 2012 8:02 pm
Location: South Tyrol (Italy)

Re: Löve Frames - A GUI Library

Post by Petunien »

How to append a line break to an object's text?
It seems that "\n" will be ignored.
"Docendo discimus" - Lucius Annaeus Seneca
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 »

Petunien wrote:How to append a line break to an object's text?
It seems that "\n" will be ignored.
The text object will support line breaks in the next update.
User avatar
Petunien
Party member
Posts: 191
Joined: Fri Feb 03, 2012 8:02 pm
Location: South Tyrol (Italy)

Re: Löve Frames - A GUI Library

Post by Petunien »

Thank you. :)
"Docendo discimus" - Lucius Annaeus Seneca
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 »

Sorry for the lack of updates recently everyone. I've just released a new version that fixes several bugs and adds many new features. The full changelog is available on the repository. Let me know what you guys think and if you find any bugs or have a suggestion please open an issue on the repository. Thanks!
coffee
Party member
Posts: 1206
Joined: Wed Nov 02, 2011 9:07 pm

Re: Löve Frames - A GUI Library

Post by coffee »

Congratulations, as always is even getting better and better. I download demo that seems to be sync with new alpha. All seems working well but I noticed a bug (I think) in Collapsible Category. When I call it also a hidden element appear and can be mouse hovered. Should be something simple you forgot to turn off. Sure you don't need it for debug but here is the usually mandatory screenshot.
collapsible.png
collapsible.png (39.99 KiB) Viewed 3096 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest