tile.timeProperty().removeListener(timeListener);
}
super.dispose();
}
@Override protected void resizeDynamicText() {
<BUG>double maxWidth = size * 0.9;
</BUG>
double fontSize = size * 0.3;
timeText.setFont(Fonts.latoRegular(fontSize));
timeText.setText(timeFormatter.format(tile.getTime()));

tile.timeProperty().removeListener(timeListener);
}
super.dispose();
}
@Override protected void resizeDynamicText() {
double maxWidth = width - size * 0.1;
double fontSize = size * 0.3;
timeText.setFont(Fonts.latoRegular(fontSize));
timeText.setText(timeFormatter.format(tile.getTime()));
