UI: change title display in groups (+README)
authorNiki Roo <niki@nikiroo.be>
Sat, 4 Mar 2017 15:29:42 +0000 (16:29 +0100)
committerNiki Roo <niki@nikiroo.be>
Sat, 4 Mar 2017 15:29:42 +0000 (16:29 +0100)
- change title colour and font for groups of books
- update screenshot (and README that points to it)

README.md
screenshots/fanfix-1.0.0.png [moved from screenshots/fanfix.png with 100% similarity]
screenshots/fanfix-1.3.2.png [new file with mode: 0644]
src/be/nikiroo/fanfix/reader/LocalReaderGroup.java

index 01f7419dd7d5ff6e7f35dddffe2dba08411308c3..6b6edbac07807d4ec4cf40bb3f060c1700b4d30d 100644 (file)
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@ Fanfix is a small Java program that can download stories from some supported web
 
 (If you are interested in the recent changes, please check the [Changelog](changelog.md).)
 
-![Main GUI](screenshots/fanfix.png?raw=true "Main GUI")
+![Main GUI](screenshots/fanfix-1.3.2.png?raw=true "Main GUI")
 
 It will convert from a (supported) URL to an .epub file for stories or a .cbz file for comics (a few other output types are also available, like Plain Text, LaTeX, HTML...).
 
diff --git a/screenshots/fanfix-1.3.2.png b/screenshots/fanfix-1.3.2.png
new file mode 100644 (file)
index 0000000..6ea39ce
Binary files /dev/null and b/screenshots/fanfix-1.3.2.png differ
index 8667ffd4ac73f995c2f2b100038c9d843d71a243..c5755460f15a77afd56c9f9117f59159b1f41c00 100644 (file)
@@ -63,8 +63,8 @@ public class LocalReaderGroup extends JPanel {
 
                        JLabel label = new JLabel();
                        label.setText(String.format("<html>"
-                                       + "<body style='text-align: center'><br>" + "%s"
-                                       + "</body>" + "</html>", title));
+                                       + "<body style='text-align: center; color: gray;'><br><b>"
+                                       + "%s" + "</b></body>" + "</html>", title));
                        label.setHorizontalAlignment(JLabel.CENTER);
                        add(label, BorderLayout.NORTH);
                }