When a ButtonItem is configured to display only an icon (showTitle="false"), the value of the name property is still rendered as text behind the icon.
Code used to create the ButtonItem:
The text reloadProjects (the value of the name property) is visible behind the button icon.
Code used to create the ButtonItem:
Code:
<ButtonItem ID="reloadProjects" name="reloadProjects" width="200" adaptWidth={false}
icon={`${CONSTANT.BUTTONS_ICONS}refresh.png`} prompt={Strings.get("loadProject")}
baseStyle="imgButton" showTitle="false" startRow="false"
click={this.reloadProjects.bind(this)}
/>
Comment