IjzerenHein / famous-flex

Animatable layouts, FlexScrollView & widgets for famo.us.
MIT License
279 stars 44 forks source link

Suggestions for new layouts #50

Open IjzerenHein opened 9 years ago

IjzerenHein commented 9 years ago

Post any suggestions for new layouts here.

IjzerenHein commented 9 years ago

Spherical layout +1 (lays out renderables in a 3 dimensional sphere)

grimen commented 9 years ago

Haha, you are on fire - great work! :) Tweakable swipe menus? I.e. triggered from edges/corners of containers.

IjzerenHein commented 9 years ago

Nice!

Sounds more like a widget, but it definitely needs a layout as well. If you have some examples/screenshots/animated gifs please share them. Perhaps we should create a separate thread dedicated for discussing this widget.

grimen commented 9 years ago

Well I basically been doing something like this:

From official Famo.us University tutorials: http://famo.us/university/lessons/#/famous-102/timbre/36

Inofficial library I found but clashed with RenderController and FamousFlex somehow so could not get it to behave other than in isolated test: https://github.com/markmarijnissen/famous-sidepanel

ArEnSc commented 9 years ago

I just want to say this is amazing work I am not sure why famo.us isn't working on widgets like these.

matt-d-rat commented 9 years ago

Masonry layout (similar to this: http://masonry.desandro.com), which is like a grid, but supports widgets which can be of variable height and perhaps variable width.

ghost commented 9 years ago

+1 for masonry

IjzerenHein commented 9 years ago

Sweet! Never knew such a layout was called masonry.

+1 for masonry

grimen commented 9 years ago

+1

With respect to custom widths too is a quite common scenario: http://erikjohanssonphoto.com/work/imagecats/personal

matt-d-rat commented 9 years ago

Agreed, it would need to support variable height and widths for each of the items in the grid.

IjzerenHein commented 9 years ago

Good suggestions. Let's keep the content in this thread purely for voting for (new) layouts and discuss specific layouts in dedicated threads. I've created a thread for the masonry layout: #57