use icons on the navbar also for images viewer
authorNiki Roo <niki@nikiroo.be>
Mon, 4 May 2020 07:58:37 +0000 (09:58 +0200)
committerNiki Roo <niki@nikiroo.be>
Mon, 4 May 2020 07:58:37 +0000 (09:58 +0200)
src/be/nikiroo/fanfix_swing/gui/viewer/ViewerImages.java

index 36f2e3db89afbf69989a1c6db21632c4ba45b23a..db072ddcc258a9141018151cd38da2ef60ff6fda 100644 (file)
@@ -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));