cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From and...@apache.org
Subject svn commit: r813485 - in /cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db: MergerOptionsView.java MergerTokenSelectorController.java
Date Thu, 10 Sep 2009 16:00:47 GMT
Author: andrey
Date: Thu Sep 10 16:00:46 2009
New Revision: 813485

URL: http://svn.apache.org/viewvc?rev=813485&view=rev
Log:
increasing migrate dialog size

Modified:
    cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db/MergerOptionsView.java
    cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db/MergerTokenSelectorController.java

Modified: cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db/MergerOptionsView.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db/MergerOptionsView.java?rev=813485&r1=813484&r2=813485&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db/MergerOptionsView.java
(original)
+++ cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db/MergerOptionsView.java
Thu Sep 10 16:00:46 2009
@@ -91,7 +91,7 @@
 
         // we need the right preferred size so that dialog "pack()" produces decent
         // default size...
-        tabs.setPreferredSize(new Dimension(450, 350));
+        tabs.setPreferredSize(new Dimension(600, 350));
 
         JPanel buttons = new JPanel(new FlowLayout(FlowLayout.RIGHT));
         buttons.add(saveSqlButton);

Modified: cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db/MergerTokenSelectorController.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db/MergerTokenSelectorController.java?rev=813485&r1=813484&r2=813485&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db/MergerTokenSelectorController.java
(original)
+++ cayenne/main/trunk/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db/MergerTokenSelectorController.java
Thu Sep 10 16:00:46 2009
@@ -173,8 +173,10 @@
         
         // TODO: correct width for the different columns
         //view.getTokens().setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
-        columnModel.getColumn(MergerTokenTableModel.COL_SELECT).setPreferredWidth(15);
-        columnModel.getColumn(MergerTokenTableModel.COL_DIRECTION).setPreferredWidth(15);
+        columnModel.getColumn(MergerTokenTableModel.COL_SELECT).setPreferredWidth(50);
+        columnModel.getColumn(MergerTokenTableModel.COL_DIRECTION).setPreferredWidth(100);
+        columnModel.getColumn(MergerTokenTableModel.COL_SELECT).setMaxWidth(50);
+        columnModel.getColumn(MergerTokenTableModel.COL_DIRECTION).setMaxWidth(100);
     }
 
     public boolean isSelected(MergerToken token) {



Mime
View raw message