Hi there,
If I'm putting a toolstrip into a sectionstacksection and set the visibility to hidden the toolstrip, the toolstrip is still displayed.
Adding a Layout around the toolstrip the visibility is shown as expected.
Shouldn't it also work without the need of an additional Layout?
On the left side there is the SectionStackSection with the including Toolstrip, which is visible.
On the right side there is the same toolstrip wrapped in a Layout, which leads to a correct visibility of the toolstrip.
This is reproducable with the latest downloadable nightly (SmartClient_v111p_2018-02-11_Pro) and Firefox 58.0.2 (64-Bit), Chrome Version 64.0.3282.140 (64-Bit) and IE11 11.192.16299.0
If I'm putting a toolstrip into a sectionstacksection and set the visibility to hidden the toolstrip, the toolstrip is still displayed.
Adding a Layout around the toolstrip the visibility is shown as expected.
Shouldn't it also work without the need of an additional Layout?
On the left side there is the SectionStackSection with the including Toolstrip, which is visible.
On the right side there is the same toolstrip wrapped in a Layout, which leads to a correct visibility of the toolstrip.
This is reproducable with the latest downloadable nightly (SmartClient_v111p_2018-02-11_Pro) and Firefox 58.0.2 (64-Bit), Chrome Version 64.0.3282.140 (64-Bit) and IE11 11.192.16299.0
Code:
Canvas.resizeControls(4); Canvas.resizeFonts(2); isc.HLayout.create({ members: [ isc.SectionStack.create({ "ID": "sectionStack1", "height": "100%", "width": "300", "sections": [{ "ID": "sectionStackSection1", "canCollapse": false, "expanded": true, title: "the SectionStackSection1", "items": [isc.ToolStrip.create({ "ID": "toolStrip1", "width": "100%", "visibility": "hidden", "members": [isc.Label.create({ width: "100%", contents: "should be not visible" })] }) ] } ], "members": [] }), isc.SectionStack.create({ "ID": "sectionStack2", "height": "100%", "width": "300", "sections": [{ "ID": "sectionStackSection2", "canCollapse": false, "expanded": true, title: "the SectionStackSection2", "items": [isc.HLayout.create({ members: [isc.ToolStrip.create({ "ID": "toolStrip2", "width": "100%", "visibility": "hidden", "members": [isc.Label.create({ width: "100%", contents: "should be not visible" })] })] }) ] } ], "members": [] }) ] })
Comment