Added minSize

can be used to avoid resizing for a larger success/error message