Update of /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/gui/dialogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6889/src/net/sf/magicmap/client/gui/dialogs
Modified Files:
AboutDialog.java
Log Message:
fehler in relative PanelBuilder gefixt (setWidth, setHeight)
Index: AboutDialog.java
===================================================================
RCS file: /cvsroot/magicmap/magicmapclient/src/net/sf/magicmap/client/gui/dialogs/AboutDialog.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** AboutDialog.java 28 Sep 2005 10:33:07 -0000 1.2
--- AboutDialog.java 28 Sep 2005 13:33:35 -0000 1.3
***************
*** 48,53 ****
builder.setTop("okbutton",this.getHeight()-60);
builder.setLeft("okbutton",this.getWidth()-83);
! builder.setHeight("okbutton",27 - (this.getHeight()-60));
! builder.setWidth("okbutton",75 - (this.getWidth()-83));
--- 48,53 ----
builder.setTop("okbutton",this.getHeight()-60);
builder.setLeft("okbutton",this.getWidth()-83);
! builder.setHeight("okbutton",27 );
! builder.setWidth("okbutton",75);
***************
*** 69,73 ****
JLabel magicMapImage = builder.addLabel("","magicmapimage",58,0);
! builder.setWidth("magicmapimage",284);
builder.setHeight("magicmapimage",222);
magicMapImage.setIcon(new ImageIcon(this.getClass().getClassLoader().getResource("MagicMapLogo.gif")));
--- 69,73 ----
JLabel magicMapImage = builder.addLabel("","magicmapimage",58,0);
! builder.setWidth("magicmapimage",342);
builder.setHeight("magicmapimage",222);
magicMapImage.setIcon(new ImageIcon(this.getClass().getClassLoader().getResource("MagicMapLogo.gif")));
|