Revision 42250

View differences:

trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/resources-plugin/i18n/text.properties
108 108
Campo=Campo
109 109
campo_altura_texto=Campo de altura de texto\:
110 110
Campo_de_clasificacion=Campo de clasificaci\u00f3n
111
Campo_de_clasificacion_XcolonX=Campo de clasificaci\u00f3n\:
111 112
Campo_de_etiquetado=Campo de etiquetado
112 113
Campos=Campos
113 114
cancel=Cancelar
......
139 140
colocar_detras=Colocar detr\u00e1s
140 141
color=Color\:
141 142
Color_final=Color final
143
Color_final_XcolonX=Color final\:
142 144
Color_inicio=Color de inicio
145
Color_inicio_XcolonX=Color de inicio\:
143 146
color_texto=Color del texto\:
144 147
comentarios=Comentarios
145 148
comentarios_XcolonX=Comentarios\:
......
470 473
no=No
471 474
no_activos=No activos
472 475
No_de_intervalos=N\u00ba de intervalos
476
No_de_intervalos_XcolonX=N\u00ba de intervalos\:
473 477
no_es_posible_aplicar_leyenda_vacia=No es posible aplicar la leyenda vac\u00eda.
474 478
no_hay_campo_seleccionado=No hay ning\u00fan campo de clasificaci\u00f3n seleccionado
475 479
No_ha_sido_posible_realizar_la_operacion=No ha sido posible realizar la operaci\u00f3n
......
702 706
this_table_is_not_self_editable=La tabla no tiene permiso de escritura.
703 707
tipo_dato=Tipo dato
704 708
tipo_de_intervalo=Tipo de intervalo
709
tipo_de_intervalo_XcolonX=Tipo de intervalo\:
705 710
tipo_de_leyenda=Tipo de leyenda
706 711
tipo_fichero_proyecto=Fichero de proyecto gvSIG (*.gvsproj)
707 712
tipo_linea=Tipo de L\u00ednea\:
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/resources-plugin/i18n/text_en.properties
105 105
Campo=Field
106 106
campo_altura_texto=Text field heigth\:
107 107
Campo_de_clasificacion=Classification field
108
Campo_de_clasificacion_XcolonX=Classification field\:
108 109
Campo_de_etiquetado=Labeling field
109 110
Campos=Fields
110 111
cancel=Cancel
......
134 135
colocar_detras=Place back
135 136
color=Color\:
136 137
Color_final=End color
138
Color_final_XcolonX=End color\:
137 139
Color_inicio=Begin color
140
Color_inicio_XcolonX=Begin color\:
138 141
color_texto=Text color\:
139 142
comentarios=Comments
140 143
comentarios_XcolonX=Comments\:
......
439 442
no=No
440 443
no_activos=Not active
441 444
No_de_intervalos=Nr of intervals
445
No_de_intervalos_XcolonX=Nr of intervals\:
442 446
no_es_posible_aplicar_leyenda_vacia=It's imposible to apply empty legend.
443 447
No_ha_sido_posible_realizar_la_operacion=Unable to perform operation.
444 448
no_hay_campo_seleccionado=
......
661 665
this_table_is_not_self_editable=Table not editable
662 666
tipo_dato=Data type
663 667
tipo_de_intervalo=Interval type
668
tipo_de_intervalo_XcolonX=Interval type\:
664 669
tipo_de_leyenda=Type of legend
665 670
tipo_fichero_proyecto=gvSIG project file(*.gvsproj)
666 671
tipo_linea=Stroke\:
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/project/documents/view/legend/gui/VectorialInterval.java
23 23
 */
24 24
package org.gvsig.app.project.documents.view.legend.gui;
25 25

  
26
import java.awt.BorderLayout;
27
import java.awt.Color;
28
import java.awt.Dimension;
29
import java.awt.FlowLayout;
30
import java.awt.GridLayout;
26
import java.awt.*;
31 27
import java.awt.event.ActionEvent;
32 28
import java.awt.event.ActionListener;
33 29
import java.text.NumberFormat;
......
43 39
import javax.swing.JOptionPane;
44 40
import javax.swing.JPanel;
45 41
import javax.swing.JTextField;
42
import javax.swing.border.EmptyBorder;
46 43

  
47 44
import org.gvsig.andami.IconThemeHelper;
48 45
import org.gvsig.andami.PluginServices;
......
124 121
     */
125 122
    private void initialize() {
126 123
        this.setLayout(new BorderLayout());
127
        this.setSize(700, 350);
124
        this.setSize(700, 300);
125
        this.setBorder(new EmptyBorder(new Insets(5,5,5,5)));
126
        
128 127
        this.add(getPnlNorth(), BorderLayout.NORTH);
129

  
130 128
        this.add(getPnlButtons(), BorderLayout.SOUTH);
131 129
        this.add(getPnlCenter(), BorderLayout.CENTER);
132 130
        setOptionPanel(getOptionPanel());
......
134 132

  
135 133
    private JPanel getPnlNorth() {
136 134
        if (pnlNorth == null) {
137
            pnlNorth = new JPanel(new GridLayout(1, 2));
135
            pnlNorth = new JPanel(new GridLayout(1, 2, 5, 5));
138 136
            pnlNorth.add(getGeneralPanel());
139 137
        }
140 138
        return pnlNorth;
......
151 149
            pnlGeneral.setBorder(BorderFactory.
152 150
                    createTitledBorder(null,
153 151
                            PluginServices.getText(this, "fields")));
154
            pnlGeneral.addComponent(PluginServices.getText(this, "Campo_de_clasificacion"),
155
                    getCmbFields());
156
            pnlGeneral.addComponent(PluginServices.getText(this, "tipo_de_intervalo"),
157
                    getCmbIntervalTypes());
152
            pnlGeneral.addComponent(PluginServices.getText(this, "Campo_de_clasificacion_XcolonX"),
153
                    getCmbFields(),new Insets(2, 5, 2, 5));
154
            pnlGeneral.addComponent(PluginServices.getText(this, "tipo_de_intervalo_XcolonX"),
155
                    getCmbIntervalTypes(),new Insets(2, 5, 2, 5));
158 156

  
159 157
            JPanel aux = new JPanel(new FlowLayout(FlowLayout.LEADING, 0, 0));
160 158
            aux.add(getTxtNumIntervals());
161
            pnlGeneral.addComponent(PluginServices.getText(this, "No_de_intervalos"),
162
                    aux);
159
            pnlGeneral.addComponent(PluginServices.getText(this, "No_de_intervalos_XcolonX"),
160
                    aux,new Insets(2, 5, 2, 5));
163 161
            defaultSymbolPanel.add(getChkDefaultvalues(), null);
164
			pnlGeneral.addComponent(defaultSymbolPanel);
162
			pnlGeneral.addComponent(defaultSymbolPanel,new Insets(10, 25, 2, 5));
165 163
        }
166 164
        return pnlGeneral;
167 165
    }
......
174 172
                            PluginServices.getText(this, "color_ramp")));
175 173

  
176 174
            GridBagLayoutPanel aux = new GridBagLayoutPanel();
177
            aux.addComponent(PluginServices.getText(this, "Color_inicio"),
175
            aux.addComponent(PluginServices.getText(this, "Color_inicio_XcolonX"),
178 176
                    getColorChooserPanel());
179
            aux.addComponent(PluginServices.getText(this, "Color_final"),
177
            aux.addComponent(PluginServices.getText(this, "Color_final_XcolonX"),
180 178
                    getColorChooserPanel1());
181 179
            optionPanel.add(aux);
182 180
        }

Also available in: Unified diff