Löve Frames - A GUI Library
Re: Löve Frames - A GUI Library
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.
- randommeme
- Prole
- Posts: 1
- Joined: Wed Aug 01, 2012 10:19 am
Re: Löve Frames - A GUI Library
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?
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?
Re: Löve Frames - A GUI Library
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?
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Löve Frames - A GUI Library
As far as I know that only pertains to modifications of it, but maybe his view on this is different. (Licenses and interpretation...)
- Nikolai Resokav
- Party member
- Posts: 140
- Joined: Wed Apr 28, 2010 12:51 am
- Location: United States
Re: Löve Frames - A GUI Library
Currently the text object does not support this feature. However, this might be helpful to you: https://love2d.org/wiki/Font:getWraprandommeme 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?
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.Ö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?
Re: Löve Frames - A GUI Library
How to append a line break to an object's text?
It seems that "\n" will be ignored.
It seems that "\n" will be ignored.
"Docendo discimus" - Lucius Annaeus Seneca
- Nikolai Resokav
- Party member
- Posts: 140
- Joined: Wed Apr 28, 2010 12:51 am
- Location: United States
Re: Löve Frames - A GUI Library
The text object will support line breaks in the next update.Petunien wrote:How to append a line break to an object's text?
It seems that "\n" will be ignored.
- Nikolai Resokav
- Party member
- Posts: 140
- Joined: Wed Apr 28, 2010 12:51 am
- Location: United States
Re: Löve Frames - A GUI Library
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!
Re: Löve Frames - A GUI Library
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.
Who is online
Users browsing this forum: No registered users and 1 guest