codenameone - Codename One change color of Material Icons -
i using new gui builder , change color , size of material icons in button.
is there way this? couldn't find related on net , changing button's font color not seem affect color of icon ...
thanks in advance.
what have far css style :
mybutton { background-color: lightgray; border-radius: 4pt; border: none; box-shadow: 2pt 2pt 2pt 0px gray; color: #ff0000; font-family: "native:mainregular"; font-size: 7pt; margin-top: 5pt; margin-bottom: 12pt; padding-bottom: 2mm; padding-top: 2mm; text-align: center; }
the material icons color , styling of component apply including changing color on press/disable. change color customize uiid of component e.g. if component uiid mybutton style mybutton uiid in designer match color want icon.
Comments
Post a Comment