proper size for compose window (added a gravity)