super.handleEvents(EVENT_TYPE);
};
@Override protected void resizeDynamicText() {
};
@Override protected void resizeStaticText() {
<BUG>double maxWidth = size * 0.9;
</BUG>
double fontSize = size * textSize.factor;
titleText.setFont(Fonts.latoRegular(fontSize));
if (titleText.getLayoutBounds().getWidth() > maxWidth) { Helper.adjustTextSize(titleText, maxWidth, fontSize); }

super.handleEvents(EVENT_TYPE);
};
@Override protected void resizeDynamicText() {
};
@Override protected void resizeStaticText() {
double maxWidth = width - size * 0.1;
double fontSize = size * textSize.factor;
titleText.setFont(Fonts.latoRegular(fontSize));
if (titleText.getLayoutBounds().getWidth() > maxWidth) { Helper.adjustTextSize(titleText, maxWidth, fontSize); }
