PolymerElements / paper-fab

A material design floating action button
https://www.webcomponents.org/element/PolymerElements/paper-fab
33 stars 25 forks source link

Apply custom style to label #67

Closed sorin-davidoi closed 8 years ago

sorin-davidoi commented 8 years ago

Description

It is currently no possible to style the label. While the default values are sane, we should allow the users to override them.

For instance, displaying the string "24:54" leads to this:

Setting width: auto; overflow: auto; would result in:

Expected outcome

The user should be allowed to style the label via a custom property.

Actual outcome

This is currently not possible.