The getContentSize has already been used by the Widget class and it may need to refactor later.