The UI components can be shown or hidden as required. If the UI component is placed in a layout, the UI components may be automatically rearranged.
Hide UI component dynamically - If the UI component is located in a layout, the UI components may be automatically rearranged within the layout.
button.setVisible(false); |
Show UI component dynamically - If the UI component is located in a layout, the UI components may be rearranged within the layout.
button.setVisible(true); |