From: Niki Roo Date: Mon, 4 May 2020 07:58:37 +0000 (+0200) Subject: use icons on the navbar also for images viewer X-Git-Tag: fanfix-swing-1.2.0~36 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=0fbe03a4ff3c24c4168902dd530ad3f7cb601361;p=fanfix-swing.git use icons on the navbar also for images viewer --- diff --git a/src/be/nikiroo/fanfix_swing/gui/viewer/ViewerImages.java b/src/be/nikiroo/fanfix_swing/gui/viewer/ViewerImages.java index 36f2e3db..db072ddc 100644 --- a/src/be/nikiroo/fanfix_swing/gui/viewer/ViewerImages.java +++ b/src/be/nikiroo/fanfix_swing/gui/viewer/ViewerImages.java @@ -184,6 +184,12 @@ public class ViewerImages extends JFrame { // Page navigation navbar = new NavBar(1, images.size()); + navbar.setIcons( // + IconGenerator.get(Icon.arrow_double_left, Size.x32), // + IconGenerator.get(Icon.arrow_left, Size.x32), // + IconGenerator.get(Icon.arrow_right, Size.x32), // + IconGenerator.get(Icon.arrow_double_right, Size.x32) // + ); // Rotate JButton left = new JButton(IconGenerator.get(Icon.turn_left, Size.x32));