CGCookie / addon_common

GNU General Public License v3.0
41 stars 7 forks source link

Hiding and/or deleting UI elements #17

Closed talmazov closed 4 years ago

talmazov commented 4 years ago

Is there a way to hide UI elements like collapsible or a button, or perhaps to delete them from the UI then be able to re-add them again? Thanks

vxlcoder commented 4 years ago

Yes, you can set is_visible=False or set style to display:none. see https://github.com/CGCookie/addon_common/blob/b280/common/ui.py#L593 for example.