Completed the visibility control of widgets.
Completed the visibility control of widgets.