Sets the minimal content size and adjust window or content should be called from window show
See Implementation
Sets the minimal content size and adjust window or content should be called from window show