The title style on buttons is only applied when also an icon is set. When the icon is not set, the title is not wrapped with the provided style at all (See example below).
In the previous smartclient version it worked as expected, so any button title could be styled no matter if an icon was defined or not.
In the previous smartclient version it worked as expected, so any button title could be styled no matter if an icon was defined or not.
Code:
isc.IButton.create({ title: "Button applying style", width: 150, titleStyle: "windowHeaderText", icon: "icons/16/find.png" }); isc.IButton.create({ title: "Button not applying style", width: 150, titleStyle: "windowHeaderText", left: 200 });
Comment