You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to use larger material design icons?
I'm currently using re-com to prototype a small application for older users that sometimes prefer larger icons. However using something like :md-icon-name "zmdi-icon-name zmdi-hc-5x" either has no effect, or, if added as a class moves the icon outside of the button.
Regular and Larger icon buttons use the same size icon, what do I need to add/edit to utilise the larger icons?
Many Thanks
The text was updated successfully, but these errors were encountered:
Currently re-com supports using the :size parameter to change the size. The supported options are :larger, :regular and :smaller. The default size is :regular.
i.e
Using a class name beside the name like "zmdi-plus zmdi-hc-5x" makes the icon change it's size but the size of the button is capped by re-com's rc-md-icon-button default style
i.e
You can override the button's default size by passing style or class as follows
[md-icon-button :src (at)
:md-icon-name"zmdi-plus zmdi-hc-2x":emphasise?true:tooltip"This button has :emphasise? set to true":on-click #()
:style {:height"50px"}]
Is it possible to use larger material design icons?
I'm currently using re-com to prototype a small application for older users that sometimes prefer larger icons. However using something like :md-icon-name "zmdi-icon-name zmdi-hc-5x" either has no effect, or, if added as a class moves the icon outside of the button.
Regular and Larger icon buttons use the same size icon, what do I need to add/edit to utilise the larger icons?
Many Thanks
The text was updated successfully, but these errors were encountered: