rulus.ui.core: get/set height/width outsourced in a method