Hi,
I need to report a possible bug in ToolStripMenuButton.
Problem is when ToolStripMenuButton is added to ToolStrip and then getMembers() is called.
It throws AssertionError in MenuButton.java in line 106.
The reason is probably because ToolStripMenuButton does not extend MenuButton.
Simple test case:
Tested on: SmartGWT 12.0p 20180918
Best regards
Mariusz Goch
I need to report a possible bug in ToolStripMenuButton.
Problem is when ToolStripMenuButton is added to ToolStrip and then getMembers() is called.
It throws AssertionError in MenuButton.java in line 106.
The reason is probably because ToolStripMenuButton does not extend MenuButton.
Simple test case:
Code:
ToolStrip toolStrip = new ToolStrip(); toolStrip.addButton(new ToolStripButton("test1")); toolStrip.addMenuButton(new ToolStripMenuButton("test2")); Canvas[] c = toolStrip.getMembers(); this.addChild(toolStrip);
Best regards
Mariusz Goch
Comment