@@ -616,25 +616,31 @@ public void actionPerformed(ActionEvent ae) {
616
616
617
617
gbc = GBC .eol ();
618
618
gbc .gridx = 0 ;
619
- gbc .gridy = y ;
619
+ gbc .gridy = y ++ ;
620
620
panelTf .add (cbShowThumbs , gbc );
621
621
622
622
gbc = GBC .eol ().fill (GridBagConstraints .HORIZONTAL ).insets (0 , 12 , 0 , 0 );
623
623
sepDirectionPosition = new JSeparator (SwingConstants .HORIZONTAL );
624
+ gbc .gridy = y ++;
624
625
panelTf .add (sepDirectionPosition , gbc );
625
626
626
627
gbc = GBC .eol ();
627
628
gbc .gridwidth = 3 ;
629
+ gbc .gridy = y ++;
628
630
pDirectionPosition = ImageDirectionPositionPanel .forGpxTrace ();
629
631
panelTf .add (pDirectionPosition , gbc );
630
632
631
- expertChanged (ExpertToggleAction .isExpert ());
632
-
633
- final JPanel statusBar = new JPanel (new FlowLayout (FlowLayout .LEFT , 0 , 0 ));
634
- statusBar .setBorder (BorderFactory .createLoweredBevelBorder ());
633
+ final JPanel statusPanel = new JPanel (new FlowLayout (FlowLayout .CENTER , 10 , 10 ));
634
+ statusPanel .setBorder (BorderFactory .createLoweredBevelBorder ());
635
635
statusBarText = new JLabel (" " );
636
- statusBarText .setFont (statusBarText .getFont ().deriveFont (Font .PLAIN , 8 ));
637
- statusBar .add (statusBarText );
636
+ statusBarText .setFont (statusBarText .getFont ().deriveFont (Font .PLAIN , 12 ));
637
+ statusPanel .add (statusBarText );
638
+
639
+ gbc = GBC .eol ().fill (GridBagConstraints .HORIZONTAL ).insets (20 , 12 , 20 , 0 );
640
+ gbc .gridy = y ;
641
+ panelTf .add (statusPanel , gbc );
642
+
643
+ expertChanged (ExpertToggleAction .isExpert ());
638
644
639
645
RepaintTheMapListener repaintTheMap = new RepaintTheMapListener (yLayer );
640
646
pDirectionPosition .addFocusListenerOnComponent (repaintTheMap );
@@ -649,7 +655,6 @@ public void actionPerformed(ActionEvent ae) {
649
655
pDirectionPosition .addItemListenerOnComponents (statusBarUpdaterWithRepaint );
650
656
651
657
outerPanel = new JPanel (new BorderLayout ());
652
- outerPanel .add (statusBar , BorderLayout .PAGE_END );
653
658
654
659
if (!GraphicsEnvironment .isHeadless ()) {
655
660
forEachLayer (CorrelateGpxWithImages ::closeDialog );
0 commit comments