Skip to content
This repository has been archived by the owner on Oct 9, 2018. It is now read-only.

Wiki Context menu vertical aligment #426

Closed
gcsantiago opened this issue Oct 27, 2012 · 6 comments
Closed

Wiki Context menu vertical aligment #426

gcsantiago opened this issue Oct 27, 2012 · 6 comments
Labels

Comments

@gcsantiago
Copy link

I've entitled Wiki because i dont know if it is a behaviour to wikify...

Sometimes the menu options start from top, and in other screens align in the middle. I think is in response to some data-atributes, may be "pin" or "overflow" or combination. The same is in action bar.
Wherever i wish to know exactly and suggest you to document it in the wiki.

Thanks , regards

@tneil
Copy link
Collaborator

tneil commented Oct 30, 2012

I'm not sure I understand the request.

Context Menu and Action overflow items will always be centered on the menu. If you specify one of the items to be pinned, it will appear at the bottom.

Is the request to clarify the documentation around this?

@gcsantiago
Copy link
Author

Hi Tim

No, i've situations where the items are not in the middle, they are on top

for example...

<div data-bb-type="action-bar">
<div data-bb-type="action" data-bb-style="button" data-bb-pin="true"
data-bb-img="images/actionBar/cog_dark_theme.png"
onclick="bb.pushScreen('config.htm', 'config');">Preferencias</div>
<div data-bb-type="action" data-bb-style="button" data-bb-overflow="true"
data-bb-pin="true" data-bb-img="images/actionBar/help.png"
onclick="alert('Instructivo');">Instructivo</div>
<div data-bb-type="action" data-bb-style="button" data-bb-overflow="true"
data-bb-pin="true" data-bb-img="images/actionBar/info.png"
onclick="alert('Acerca de...');">Acerca de...</div>
<div data-bb-type="action" data-bb-style="button" data-bb-overflow="true"
data-bb-img="images/actionBar/comment.png" onclick="alert('You clicked
1');">Comentarios</div>
<div data-bb-type="action" data-bb-style="button" data-bb-overflow="true"
data-bb-img="images/actionBar/world-globe.png" onclick="alert('Elijio
Espanol');">Espanol</div>
<div data-bb-type="action" data-bb-style="button" data-bb-overflow="true"
data-bb-img="images/actionBar/world-globe.png" onclick="alert('You choose
English');">English</div>
<div data-bb-type="action" data-bb-style="button" data-bb-overflow="true"
data-bb-img="images/actionBar/world-globe.png"
onclick="alert('Portugueis');">Portugueis</div>
</div>

I dont know if is it a bug or a behaviour, so You decide to solve or to
document it =)

Thx

2012/10/30 Tim Neil notifications@github.com

I'm not sure I understand the request.

Context Menu and Action overflow items will always be centered on the
menu. If you specify one of the items to be pinned, it will appear at the
bottom.

Is the request to clarify the documentation around this?


Reply to this email directly or view it on GitHubhttps://github.com//issues/426#issuecomment-9904603.

@tneil
Copy link
Collaborator

tneil commented Oct 30, 2012

Are you seeing things at the top when all the vertical space is used up.. i.e. they fill the height of the screen in the menu? If this is the case there is an open issue to allow scrolling of items in this scenario #142

@gcsantiago
Copy link
Author

Im glad to discover that if you PIN the first overflow item then all are
aligned to the top on action bar ! I like this behaviour!

2012/10/30 Tim Neil notifications@github.com

Are you seeing things at the top when all the vertical space is used up..
i.e. they fill the height of the screen in the menu? If this is the case
there is an open issue to allow scrolling of items in this scenario #142#142


Reply to this email directly or view it on GitHubhttps://github.com//issues/426#issuecomment-9914872.

@tneil
Copy link
Collaborator

tneil commented Oct 30, 2012

Well that's interesting :o) It's not supposed to do that.

@gcsantiago
Copy link
Author

jejeje dont dare to change it !

PS: sorry my limited english

2012/10/30 Tim Neil notifications@github.com

Well that's interesting :o) It's not supposed to do that.


Reply to this email directly or view it on GitHubhttps://github.com//issues/426#issuecomment-9917388.

@tneil tneil closed this as completed Jan 17, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants