Ignore:
Timestamp:
Mar 26, 2011, 5:47:02 PM (13 years ago)
Author:
mlg
Message:

Fixes one major display bug
There were displays bugs with the horizontal splitpane where trying to resize it.
I have fixed by changing the original scale (1.0 to 0.99). Don't know why I had to do this, bug it seems to fix the bug
Fixes an other bug in the image browser : the image list was kept when browsing through the different categories.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/ui/browser/BrowserPanel.java

    r9393 r9878  
    3232import fr.mael.jiwigo.transverse.util.Tools;
    3333import fr.mael.jiwigo.ui.comments.CommentsDialog;
    34 import fr.mael.jiwigo.ui.mainframe.MainFrame;
    3534
    3635/**
     
    253252    public void changeImage() {
    254253        imagePanel.changeImage();
    255         MainFrame.getInstance().getCollapsiblePanel().revalidate();
    256         MainFrame.getInstance().getCollapsiblePanel().repaint();
     254        //      MainFrame.getInstance().getCollapsiblePanel().revalidate();
     255        //      MainFrame.getInstance().getCollapsiblePanel().repaint();
    257256    }
    258257
     
    316315    }
    317316
     317    public void callRepaint() {
     318        if (menuBar != null) {
     319            menuBar.repaint();
     320            menuBar.revalidate();
     321        }
     322        if (panelBoutons != null) {
     323            panelBoutons.repaint();
     324            panelBoutons.revalidate();
     325        }
     326        if (imagePanel != null) {
     327            imagePanel.repaint();
     328            imagePanel.revalidate();
     329        }
     330
     331        repaint();
     332        revalidate();
     333    }
     334
    318335    //    @Override
    319336    //    public void dispose() {
Note: See TracChangeset for help on using the changeset viewer.