blackberry / bbUI.js

BlackBerry UI look and feel JavaScript toolkit for WebWorks
Apache License 2.0
312 stars 192 forks source link

Q10 (10.3) doesn't display ActionBar Overflow-Menu #1035

Open T-M-C opened 9 years ago

T-M-C commented 9 years ago

Hi Tim,

i don´t know why, but the q10 doesn't display my overflow-menu on 10.3... see the compare-screenshot: (top is q10, tested on simulator and device) if i have more than one visible action-button on the bar, it hides...

acitonbar

tests: z10 - ok passport - ok z30 - ok q10 - failed

tneil commented 9 years ago

Is it just a problem when there are two actions? What about 3 actions?

T-M-C commented 9 years ago

you are right... if i have 3 visible actions, its ok! strange

tneil commented 9 years ago

There's a line of code that sets the default button width when there are two buttons for each different resolution. My guess is that for the Q10 it is too wide forcing the overflow button to push down below the screen

T-M-C commented 9 years ago

could you please help me there? :-)

tneil commented 9 years ago

Here's the line of code.. it should be 200 instead of 280... I just don't have my machine setup right now to make the change and build

https://github.com/blackberry/bbUI.js/blob/master/pkg/bb10/bbui.js#L2224

T-M-C commented 9 years ago

tested, works perfect! thank you so much tim!

tneil commented 9 years ago

Just re-opening this one so that I fix the source file :)

T-M-C commented 9 years ago

haha... sorry ;)