Size GetLayoutSize(value, Size maxsize=null)Get computed layout size of the object