Revision 39077

View differences:

branches/v2_0_0_prep/applications/appgvSIG/config/text_en.properties
1004 1004
_open_a_project=Open a project
1005 1005
_save_the_current_project=Save current project
1006 1006
_Pixels=Pixels
1007
_Fixed_color=Single color
1008
_Field_to_use_in_label=Field to use in label
1009

  
branches/v2_0_0_prep/applications/appgvSIG/config/text.properties
1083 1083
_open_a_project=Abrir un proyecto
1084 1084
_save_the_current_project=Guardar el proyecto actual
1085 1085
_Pixels=P?xeles
1086
_Fixed_color=Color fijo
1087
_Field_to_use_in_label=Campo de la etiqueta
1088

  
1089

  
branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/project/documents/view/legend/gui/AttrInTableLabeling.java
115 115
		GridBagLayoutPanel panel = new GridBagLayoutPanel();
116 116

  
117 117
		GridBagLayoutPanel aux = new GridBagLayoutPanel();
118
		aux.addComponent(PluginServices.getText(this, "field_to_be_labeled") + ":", getCmbTextField());
118
		aux.addComponent(PluginServices.getText(this, "_Field_to_use_in_label") + ":", getCmbTextField());
119 119
		aux.addComponent(getRdBtnHeightField(), getCmbHeightField());
120 120
		aux.addComponent(getRdBtnFixedHeight(), getTxtHeightField());
121 121
		aux.addComponent(PluginServices.getText(this, "rotation_height") + ":", getCmbRotationField());
......
174 174
	private JRadioButton getRdBtnFixedHeight() {
175 175
		if (rdBtnFixedHeight == null) {
176 176
			rdBtnFixedHeight = new JRadioButton(PluginServices.getText(this, "fixed_height") + ":");
177
			rdBtnFixedHeight.setSelected(false);
177
			rdBtnFixedHeight.setSelected(true);
178 178
			rdBtnFixedHeight.setName("RDFIXEDHEIGHT");
179 179
		}
180 180

  
......
184 184
	private JRadioButton getRdBtnHeightField() {
185 185
		if (rdBtnHeightField == null) {
186 186
			rdBtnHeightField = new JRadioButton(PluginServices.getText(this, "text_height_field") + ":");
187
			rdBtnHeightField.setSelected(true);
187
			rdBtnHeightField.setSelected(false);
188 188
			rdBtnHeightField.setName("RDHEIGHTFIELD");
189 189
		}
190 190

  
......
193 193

  
194 194
	private JRadioButton getRdBtnFixedColor() {
195 195
		if (rdBtnFixedColor == null) {
196
			rdBtnFixedColor = new JRadioButton(PluginServices.getText(this, "fixed_color") + ":");
197
			rdBtnFixedColor.setSelected(false);
196
			rdBtnFixedColor = new JRadioButton(PluginServices.getText(this, "_Fixed_color") + ":");
197
			rdBtnFixedColor.setSelected(true);
198 198
			rdBtnFixedColor.setName("RDFIXEDCOLOR");
199 199
		}
200 200

  
......
204 204
	private JRadioButton getRdBtnColorField() {
205 205
		if (rdBtnColorField == null) {
206 206
			rdBtnColorField = new JRadioButton(PluginServices.getText(this, "color_field") + ":");
207
			rdBtnColorField.setSelected(true);
207
			rdBtnColorField.setSelected(false);
208 208
			rdBtnColorField.setName("RDCOLORFIELD");
209 209
		}
210 210

  
......
464 464
	private void refreshTextHeight() {
465 465
		getCmbHeightField().removeAllItems();
466 466

  
467
		/*
467 468
		boolean enabled = numericFieldNames.length>0;
468
//		getCmbHeightField().setEnabled(enabled);
469
//		getRdBtnHeightField().setEnabled(enabled);
469
	    // getCmbHeightField().setEnabled(enabled);
470
	    // getRdBtnHeightField().setEnabled(enabled);
470 471

  
471 472
		if (!enabled) {
472 473
			getRdBtnFixedHeight().setSelected(true);
473 474
		}
475
		*/
474 476

  
475 477
		for (int i = 0; i < numericFieldNames.length; i++) {
476 478
			getCmbHeightField().addItem(numericFieldNames[i]);

Also available in: Unified diff