Coder Social home page Coder Social logo

Comments (2)

Meiguro avatar Meiguro commented on July 23, 2024

I agree, the menu should definitely be more flexible. There needs to be a way to customize the look and feel of a menu cell. Eventually I would like a menu cell to be as dynamic as the dynamic window, but a good API for that would take awhile to design and implement.

The reason why the menu maintains the height regardless of whether there is a subtitle or not is to reduce jumping. Jumping can be caused by menu items that dynamically change or by menu items becoming loaded or unloaded.

In the mean time, we can try to think of some interim API that is most likely to be a smaller part of what a future API would be. Maybe a menu layer can have a default cell layout to be specified. We can call the current cell layout to be Basic. What you're proposing is something like Thin or Small.

Would you need the layout to automatically size based on the subtitle, or does setting the size of all cells to be the same satisfy your use case?

from pebblejs.

compelling avatar compelling commented on July 23, 2024

Hi, especially on Time Round, the single line menu lines look very high. Users of my pebble.js based grocery app have asked for more lines/lower menu line height like it's possible in the native sdk: https://forums.pebble.com/t/watchapp-grosh-the-intelligent-grocery-app-now-for-pebble-round-and-with-dictation/20930/2
I was traversing the docs to find ways to decrease the menu height, but this is still not implemented, or did you sneak in something undocumented a year ago when this topic was up?
Would love to have more lines in our menu-heavy grocery app!!!
Kind regards Søren, compelling software

from pebblejs.

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.