Revision 43142 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/GeneralLayerPropertiesPage.java

View differences:

GeneralLayerPropertiesPage.java
158 158
        this.layer = layer;
159 159

  
160 160
        this.txtName.setText(this.layer.getName());
161
        this.txtProperties.setText(this.getLayerInfo());
161
        
162
        String info = this.getLayerInfo();
163
        if( info.startsWith("<html>") ) {
164
		this.txtProperties.setContentType("text/html");
165
        }
166
        this.txtProperties.setText(info);
167
	this.txtProperties.setCaretPosition(0);
162 168

  
163 169
        if (layer.getMinScale() != -1) {
164 170
            this.txtIsGreaterThan.setText(nf.format(layer.getMinScale()));

Also available in: Unified diff