protected void sublayout(int width, int height) { layoutChild(userImage, width, height); layoutChild(userField, width - (userImage.getWidth() + 7), height); setPositionChild(userField, 6, (userImage.getHeight() - userField.getHeight()) / 2); setPositionChild(userImage, width - userImage.getWidth(), 0); setExtent(width, userImage.getHeight()); }