From 0fbe03a4ff3c24c4168902dd530ad3f7cb601361 Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Mon, 4 May 2020 09:58:37 +0200 Subject: [PATCH] use icons on the navbar also for images viewer --- src/be/nikiroo/fanfix_swing/gui/viewer/ViewerImages.java | 6 ++++++ 1 file changed, 6 insertions(+) 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)); -- 2.27.0