fix header config
add rect param to geometry methods
add getScaledContentSize method
add visibility property to copy methods