I have a section stack with 2 sections. In the bottom section I have a horizontal layout (HLayout) that contains 3 tabsets (TabA, TabB & TabC). On startup/initialization TabC has its visibility set to false (TabC.setVisible(false)), so only TabA & TabB are showing. Now when I click a button elsewhere on the display I would like to hide TabA & TabB and show TabC. TabA & TabB hide just fine, but TabC does not show up. I can get TabC to eventually show up but I have to manually collapse the sectionstacksection it and HLayout are a part of and expand it again. Is there anyway to accomplish what I'm trying to do? Am I doing it in an incorrect way?
Thanks,
Chris
GoogleChrome
Smart GWT 3.0
GWT 2.4
Thanks,
Chris
GoogleChrome
Smart GWT 3.0
GWT 2.4
Code:
TabA.setVisible(false); TabB.setVisible(false); TabC.setVisible(true); TabC.redraw(); HLayout.redraw();
Comment