add getStyleSize.