Open azeyad opened 8 years ago
+1 for this.
@gbaumgart: I was thinking that having these properties on the main wcDocker window so that whenever we set them they apply on all child panels is more intuitive, also after the page has been loaded, setting these properties at runtime should notify the child panels so they can set the movable & collapsible properties correspondingly.
@azeyad
I'm not against putting in some simple locking options that are docker wide such as disabling all panel movement. Does disabling panel re-sizing make sense as well (not sure if anyone would actually need that)?
@Lochemage In my opinion we just need to disable panels dragging and closing functionalities, but not sure if there are other scenarios where disable re-sizing is going to be useful.
Assume there is a scenario where changing the layout is allowed for the admin users only(or for any given user with a certain type of privilege) and in case the logged user is not authorized for such action I need a way to disable dragging panels around and changing the layout.
This can be even better if I can disable/enable layout changes at runtime after the page has been loaded, but I am not sure about feasibility of that?