Revision 44842 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.impl/src/main/java/org/gvsig/fmap/dal/swing/impl/searchpanel/DefaultSearchPanelView.java

View differences:

DefaultSearchPanelView.java
1 1
package org.gvsig.fmap.dal.swing.impl.searchpanel;
2

  
3 2
import com.jeta.open.i18n.I18NUtils;
4 3
import com.jgoodies.forms.layout.CellConstraints;
5 4
import com.jgoodies.forms.layout.FormLayout;
......
413 412
   public JPanel createPanel6()
414 413
   {
415 414
      JPanel jpanel1 = new JPanel();
416
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
415
      FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:3PX:NONE,FILL:DEFAULT:NONE,FILL:3PX:NONE,FILL:DEFAULT:NONE,FILL:3PX:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE");
417 416
      CellConstraints cc = new CellConstraints();
418 417
      jpanel1.setLayout(formlayout1);
419 418

  
420 419
      pnlCfgActions.setName("pnlCfgActions");
421 420
      pnlCfgActions.setOpaque(false);
422
      jpanel1.add(pnlCfgActions,cc.xy(4,1));
421
      jpanel1.add(pnlCfgActions,cc.xy(7,1));
423 422

  
423
      btnHistory.setActionCommand("...");
424 424
      btnHistory.setName("btnHistory");
425
      EmptyBorder emptyborder1 = new EmptyBorder(2,2,2,2);
426
      btnHistory.setBorder(emptyborder1);
425 427
      jpanel1.add(btnHistory,cc.xy(3,1));
426 428

  
429
      btnBookmarks.setActionCommand("...");
427 430
      btnBookmarks.setName("btnBookmarks");
428
      jpanel1.add(btnBookmarks,cc.xy(2,1));
431
      EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2);
432
      btnBookmarks.setBorder(emptyborder2);
433
      jpanel1.add(btnBookmarks,cc.xy(5,1));
429 434

  
430
      addFillComponents(jpanel1,new int[]{ 1 },new int[]{ 1 });
435
      addFillComponents(jpanel1,new int[]{ 1,2,4,6 },new int[]{ 1 });
431 436
      return jpanel1;
432 437
   }
433 438

  

Also available in: Unified diff