Function Window.adjustWindowOrContentSize

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

void adjustWindowOrContentSize(
  int minContentWidth,
  int minContentHeight
);