Hi,
I have some problems with some glitches regarding ToolStripButtons.
Environment: Chrome 61.0.3163.100 (openSUSE Build) (64-bit), smartgwt=6.1p / smartclient=v11.1p_2017-10-25
With isc_css3Mode="off", a ToolStrip with a ToolStripButton looks like this
Looking at the generated source, the button is drawn twice, once on top of the other. In addition it writes the label 'Untitled Button'. Reason seems to be that in load_skin.js, for useCSS3 the property showTitle is set to 'false', for non-CSS3 it is not changed which uses the default value 'true'.
With isc_css3Mode="on" , I get the expected result instead.
This can be reproduced with this code
Is the css3Mode="off" still supported?
Best Regards,
Christian
I have some problems with some glitches regarding ToolStripButtons.
Environment: Chrome 61.0.3163.100 (openSUSE Build) (64-bit), smartgwt=6.1p / smartclient=v11.1p_2017-10-25
With isc_css3Mode="off", a ToolStrip with a ToolStripButton looks like this
Looking at the generated source, the button is drawn twice, once on top of the other. In addition it writes the label 'Untitled Button'. Reason seems to be that in load_skin.js, for useCSS3 the property showTitle is set to 'false', for non-CSS3 it is not changed which uses the default value 'true'.
With isc_css3Mode="on" , I get the expected result instead.
This can be reproduced with this code
Code:
public void onModuleLoad() { ToolStrip toolStrip = new ToolStrip(); ToolStripButton expandButton = new ToolStripButton(); expandButton.setIcon("[SKIN]/RichTextEditor/text_align_center.png"); toolStrip.setMembers(expandButton); toolStrip.draw(); }
Best Regards,
Christian
Comment