Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

Wow...impressive. Even though this is not so much a weakness o f Goldenlayout as rather the particular image component I use on the startpage. Still though, thanks. Remind me to hire you if I want to get back at someone.


sort by: page size:

Off topic, but thanks Wolfram for creating Golden Layout. I've developed two major platforms using it, and it's been hugely beneficial to the systems I've built.

Thanks, that's actually quite useful for the layout stuff I'm trying to do on a personal project right now :)

One reason that I love extjs is indeed its layout manager. This golden-layout seems promising...

Stealing your layout.

I have come across a need for this many times, often there's a simple trick you can do to get by it (i.e. setting an image as a background of an input element, rather than overlaying the image on top, or using transparent backgrounds along with z-index fiddling) however, I would definitely consider using this tool for rapidly building a layout. I like your presentation as well, clear layout with a brief to-the-point message.

My only concern would be performance, right off the bat I see a few nested for-loops in the code and am wondering what sort of performance hit you'd be looking at if you use this for several images on a single page. I didn't thoroughly trace through the code or anything, I am just thinking out loud here.


I am always interested to see ways that people apply different layout ideas to code.

The Golden Section is a number considered to produce the most aesthetically pleasing ratios of things. A playing card's dimensions are usually roughly the same ratio: 1:1.618

For the past few hundred years print designers have been aware of the Golden Section and have been working it into their page sizes and margins - so wether it's beautiful and that's why we use it, or we use it and that's why it's beautiful - there's no question that we are familiar with seeing this design tool be used in print.

This looks like a library to help integrate some of those layout ideals into your code in ways that would be tricky or cost a lot of time to implement otherwise.


Thanks, Layoutit looks particularly interesting.

Feel free to hack the code and implement these layouts. Should be pretty easy ^^

Ha! I was about to go put together yet another layout like this. Thanks a bunch!

That’s awesome. That’s a very common problem even for non layouts. Many of the complex UI elements I work on daily all need basic mobile support where I could see applications for this.

It seems to be about a mix of grids with flux instead of either/or.


Thanks. I tried it. The biggest challenge seems to be to make your layout planar.

Thanks jonp. :-)

I think that's a good idea. The force directed layout algorithm isn't bullet proof, but it's a good approximate layout for a human to tweak.


yeah. I actually wrote the logic for the layout myself (wasn't really happy with the available libraries). may open source this if people are interested!

Do you have a link to your layout?

Or XMonad's layout processing pipeline.

But it's a nice trick and I will fully admit it :)


I like this layout a lot. What did you use to design it?

Couple months ago was shared a good initiative about layout primitives, I keep using it on prototyping it's perfect

https://news.ycombinator.com/item?id=20155098


You clearly know your layouts :). I agree, AutoLayout is the most powerful system I've worked with.

I wish others would start their layout systems based on it (others like React Native, or native Android), then add simplified APIs like flexbox using it if needed/desired.


Do you have any sample layout images to try uploading?
next

Legal | privacy