27 Apr 2015, 15:34
This only occurs in Spark, not the other themes. In fact, you can edit the classes in Chrome viewing the live Spark demo to replicate this issue. if you change the button class from ui-button-text-icon-left to ui-button-text-icon-right and the 1st span from ui-button-icon-left to ui-button-icon-right, the icon will no longer be visible and the text will remain in position for a left icon not a right positioned icon. The ui-button-text-icon-right ui button-text padding changes in primefaces.css are overridden by the ui-button-text {padding: 8px 40px 8px 20px !important} in the spark theme.css, etc....
PrimeFaces-11.0.6 / Wildfly 24