Page 8 of 41

Re: Löve Frames - A GUI Library

Posted: Fri Aug 03, 2012 11:10 pm
by Lafolie
Once again you post a brilliant piece of work.

Re: Löve Frames - A GUI Library

Posted: Tue Aug 07, 2012 3:11 am
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?

Re: Löve Frames - A GUI Library

Posted: Wed Aug 08, 2012 7:27 am
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?

Re: Löve Frames - A GUI Library

Posted: Thu Aug 09, 2012 12:05 pm
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...)

Re: Löve Frames - A GUI Library

Posted: Fri Aug 10, 2012 9:17 pm
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.

Re: Löve Frames - A GUI Library

Posted: Sun Aug 12, 2012 4:34 pm
by Petunien
How to append a line break to an object's text?
It seems that "\n" will be ignored.

Re: Löve Frames - A GUI Library

Posted: Thu Aug 16, 2012 9:31 am
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.

Re: Löve Frames - A GUI Library

Posted: Thu Aug 16, 2012 9:47 am
by Petunien
Thank you. :)

Re: Löve Frames - A GUI Library

Posted: Sun Sep 02, 2012 1:13 am
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!

Re: Löve Frames - A GUI Library

Posted: Sun Sep 02, 2012 8:23 am
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 3097 times