Code Monkey home page Code Monkey logo

Comments (12)

onmyway133 avatar onmyway133 commented on August 16, 2024

How about preferredNumberOfRows ?

from spots.

zenangst avatar zenangst commented on August 16, 2024

@onmyway133 yeah I kinda like that, but I wouldn't add preferred as a prefix. If you set that, it will arrange the items based on the items height which would give you a "column" height of 2 even if you only have 1 item.

from spots.

onmyway133 avatar onmyway133 commented on August 16, 2024

@zenangst yeah, inspired by numberOfLines. I have preferred because it will not always be the number of lines we want, if we have too few items. But I 👍 with dropping preferred

from spots.

zenangst avatar zenangst commented on August 16, 2024

@vadymmarkov @JohnSundell what do you guys think about numberOfLines is that more descriptive than itemsPerRow ?

from spots.

JohnSundell avatar JohnSundell commented on August 16, 2024

@zenangst what's wrong with itemsPerRow? I find it pretty descriptive 🙂

from spots.

zenangst avatar zenangst commented on August 16, 2024

@JohnSundell I'm just afraid that it might be confused with vertical layouts where everything is per row. If this is what you think you would get by setting that property then it might not be an issue at all:

items-per-row

from spots.

zenangst avatar zenangst commented on August 16, 2024

yeah, I'm still using my silly example to show of the feature 😁

from spots.

vadymmarkov avatar vadymmarkov commented on August 16, 2024

What about columns 😄

from spots.

zenangst avatar zenangst commented on August 16, 2024

But columns are horizontal, what you are setting are the amount of rows per column... I think. This whole thing has gotten med confused ;)

from spots.

zenangst avatar zenangst commented on August 16, 2024

itemsPerColumn?

from spots.

vadymmarkov avatar vadymmarkov commented on August 16, 2024

Hm.. columns are vertical, rows are horizontal 🤔

from spots.

zenangst avatar zenangst commented on August 16, 2024

I edited my previous comment.

from spots.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.