blackberry / bbUI.js

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

Button and darkColoring #968

Closed miamon closed 10 years ago

miamon commented 11 years ago

Have a different visualization the same code with darkColoring = false or darkColoring = true (i am in using Toolkit Initialization like sample bb10 https://github.com/blackberry/bbUI.js/blob/master/samples/bb10/index.htm)

<div data-bb-type="button" onclick="dosomething();" id="plain">
            Delete
        </div>

darktheme

solved using: data-bb-style="stretch"

but i thing this is a bbui.js issue.

tneil commented 11 years ago

Thanks for reporting this.. I'll take a look into it

tneil commented 10 years ago

Ok.. so looking at the previous documentation, it appears that the dark button is working correctly and the light button is not. By default the button will size to the text unless the data-bb-style="stretch" is used.

Looking into this some more

tneil commented 10 years ago

This should now be fixed