Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Reduce the height of a menu item when there is no subtitle #68

Open
mGeek opened this issue Jun 17, 2015 · 2 comments
Open

Proposal: Reduce the height of a menu item when there is no subtitle #68

mGeek opened this issue Jun 17, 2015 · 2 comments

Comments

@mGeek
Copy link

mGeek commented Jun 17, 2015

Hey there,

Would it be possible to reduce the menu items when there is no subtitle ?

Here is the Pebble setup menu :
empghm8qinwaaaaasuvork5cyii

Here is a screenshot of my application, with no subtitles :
xzueynqmgvpibzdukea9b l9are5ae2eaaaaabjru5erkjggg

What do you think about that ?

@Meiguro
Copy link

Meiguro commented Jun 24, 2015

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?

@compelling
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants