Open me2beats opened 3 years ago
A plugin that uses Tree node
I want a user to be able to hide/show tree columns
Adding Tree set_column_visible method would solve the problem
Tree
set_column_visible
new methods: void set_column_visible(column:int, visible:bool) bool is_column_visible(column:int)
void set_column_visible(column:int, visible:bool)
bool is_column_visible(column:int)
new signals: column_hidden(idx:int) column_shown(idx:int)
column_hidden(idx:int)
column_shown(idx:int)
Maybe but certainly not with a few lines
Hiding columns is a common UX practice. It also opens new possibilities like filtering columns by name/content etc
See also #2290.
waitting this method too!
@CsloudX Please don't bump issues without contributing significant new information. Use the :+1: reaction button on the first post instead.
Describe the project you are working on
A plugin that uses Tree node
Describe the problem or limitation you are having in your project
I want a user to be able to hide/show tree columns
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Adding
Tree
set_column_visible
method would solve the problemDescribe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
new methods:
void set_column_visible(column:int, visible:bool)
bool is_column_visible(column:int)
new signals:
column_hidden(idx:int)
column_shown(idx:int)
If this enhancement will not be used often, can it be worked around with a few lines of script?
Maybe but certainly not with a few lines
Is there a reason why this should be core and not an add-on in the asset library?
Hiding columns is a common UX practice. It also opens new possibilities like filtering columns by name/content etc