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

Already on GitHub? Sign in to your account

Wiki Context menu vertical aligment #426

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

Comments

Projects
None yet
2 participants

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

Member

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?

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/blackberry/bbUI.js/issues/426#issuecomment-9904603.

Member

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

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/blackberry/bbUI.js/issues/426#issuecomment-9914872.

Member

tneil commented Oct 30, 2012

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

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/blackberry/bbUI.js/issues/426#issuecomment-9917388.

@tneil tneil closed this Jan 17, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment