Add minWidth test, fixes #18076