[Schmitzm-commits] r978 - in trunk: src/skrueger/swing src_junit/schmitzm/geotools/gui

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Aug 12 18:07:09 CEST 2010


Author: alfonx
Date: 2010-08-12 18:07:09 +0200 (Thu, 12 Aug 2010)
New Revision: 978

Modified:
   trunk/src/skrueger/swing/AtlasDialog.java
   trunk/src_junit/schmitzm/geotools/gui/GridPanelFormatterTest.java
Log:
Decreased the insets and gaps of the GUI Layout in AtlasStyler to make the dialog usable with a 800x600 display.

Modified: trunk/src/skrueger/swing/AtlasDialog.java
===================================================================
--- trunk/src/skrueger/swing/AtlasDialog.java	2010-08-12 16:06:35 UTC (rev 977)
+++ trunk/src/skrueger/swing/AtlasDialog.java	2010-08-12 16:07:09 UTC (rev 978)
@@ -36,7 +36,7 @@
 
 	private void initDialog() {
 
-		setLayout(new MigLayout());
+		setLayout(new MigLayout("gap 1, inset 1"));
 
 		setDefaultCloseOperation(JDialog.DO_NOTHING_ON_CLOSE);
 

Modified: trunk/src_junit/schmitzm/geotools/gui/GridPanelFormatterTest.java
===================================================================
--- trunk/src_junit/schmitzm/geotools/gui/GridPanelFormatterTest.java	2010-08-12 16:06:35 UTC (rev 977)
+++ trunk/src_junit/schmitzm/geotools/gui/GridPanelFormatterTest.java	2010-08-12 16:07:09 UTC (rev 978)
@@ -1,6 +1,6 @@
 package schmitzm.geotools.gui;
 
-import static org.junit.Assert.*;
+import static org.junit.Assert.assertTrue;
 
 import org.junit.Before;
 import org.junit.Test;



More information about the Schmitzm-commits mailing list