Dail view

replace getWidth/getHeight with getSize