Revision 6136

View differences:

trunk/extensions/extCenterViewToPoint/src/com/iver/gvsig/centerviewtopoint/gui/InputCoordinatesPanel.java
160 160
        labelX.setBounds(10, 10, 28, 20);
161 161
        labelX.setText(firstCoordinate + ":");
162 162
        this.setLayout(null);
163
        this.setSize(212, 122);
163
        this.setSize(307, 100);
164 164
        this.add(labelX, null);
165 165
        this.add(getTextX(), null);
166 166
        this.add(labelY, null);
......
177 177
    private JTextField getTextX() {
178 178
    	if (textX == null) {
179 179
    		textX = new JTextField();
180
    		textX.setBounds(40, 10, 132, 20);
180
    		textX.setBounds(40, 10, 260, 20);
181 181
    		textX.addActionListener(new java.awt.event.ActionListener() {
182 182
    			public void actionPerformed(java.awt.event.ActionEvent e) {
183 183
    				textX.transferFocus();
......
195 195
    private JTextField getTextY() {
196 196
    	if (textY == null) {
197 197
    		textY = new JTextField();
198
    		textY.setBounds(40, 35, 132, 20);
198
    		textY.setBounds(40, 35, 260, 20);
199 199
    		textY.addActionListener(new java.awt.event.ActionListener() {
200 200
    			public void actionPerformed(java.awt.event.ActionEvent e) {
201 201
    				textY.transferFocus();
......
213 213
        if (viewInfo == null) {
214 214
            viewInfo=new ViewInfo(ViewInfo.MODALDIALOG);
215 215
            viewInfo.setTitle(PluginServices.getText(this,"Centrar_la_Vista_sobre_un_punto"));
216
            viewInfo.setWidth(this.getWidth()+8);
217
            viewInfo.setHeight(this.getHeight());
216 218
        }
217 219
        return viewInfo;
218 220
    }
......
255 257
		 	colorPanel=new ColorChooserPanel();
256 258
		 	colorPanel.setAlpha(250);
257 259
		 	colorPanel.setColor(CenterViewToPointExtension.COLOR);
258
		 	colorPanel.setBounds(new java.awt.Rectangle(40,59,98,24));
260
		 	colorPanel.setBounds(new java.awt.Rectangle(40,59,123,24));
259 261
		}
260 262
		 	return colorPanel;
261 263
	}
......
292 294
				}
293 295
    		};
294 296
			okCancelPanel = new AcceptCancelPanel(okAction, cancelAction);
295
			okCancelPanel.setBounds(new java.awt.Rectangle(4,88,206,32));
297
			okCancelPanel.setBounds(new java.awt.Rectangle(40, 88, 260, 30));
296 298
		}
297 299
		return okCancelPanel;
298 300
	}

Also available in: Unified diff