much quicker BooksPanel display, set max title size for BookBlocks
[fanfix.git] / src / be / nikiroo / fanfix_swing / gui / book / BookBlock.java
index 595f42ba7051d65ac80df1d906d20ad2d96bc064..329c714e200c8f3b04aac2b2736a5e9b76867c0c 100644 (file)
@@ -78,8 +78,8 @@ public class BookBlock extends BookLine {
 
        @Override
        protected void updateMeta() {
-               String main = getInfo().getMainInfo();
-               String optSecondary = getInfo().getSecondaryInfo(isSeeWordCount());
+               String main = getMainInfoDisplay();
+               String optSecondary = getSecondaryInfoDisplay(isSeeWordCount());
                String color = String.format("#%X%X%X", AUTHOR_COLOR.getRed(),
                                AUTHOR_COLOR.getGreen(), AUTHOR_COLOR.getBlue());
                title.setText(String.format("<html>"