Revision 42262 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.symbology/org.gvsig.symbology.swing/org.gvsig.symbology.swing.api/src/main/java/org/gvsig/app/gui/styling/StyleEditor.java

View differences:

StyleEditor.java
107 107
	 */
108 108
	private void initialize() {
109 109
        this.setLayout(new BorderLayout());
110
        this.setSize(500,295);
110
        this.setSize(550,295);
111 111
        this.setBorder(new EmptyBorder(5, 5, 5, 5));
112 112
        
113 113
        this.add(getPnlNorth(), BorderLayout.NORTH);
......
264 264
            GridBagConstraints c = new GridBagConstraints();
265 265
                        
266 266
            c.fill = GridBagConstraints.BOTH;
267
            c.insets = new Insets(5,5,5,5);
268
            
269
            JLabel lblMaxPriority = new JLabel(("1: ").concat(i18nManager.getTranslation("priority_max")));
270
            JLabel lblIntPriority = new JLabel(("2: ").concat(i18nManager.getTranslation("priority_int")));
271
            JLabel lblMinPriority = new JLabel(("3: ").concat(i18nManager.getTranslation("priority_min")));
272
            JLabel lblBlockedPriority = new JLabel(("0: ").concat(i18nManager.getTranslation("priority_blocked")));
273
            
274
            c.gridx = 1;
275
            c.gridy = 1;
276
            pnlTools.add(lblMaxPriority, c);
277
            
278
            c.gridx = 1;
279
            c.gridy = 2;
280
            pnlTools.add(lblIntPriority, c);
281
            
282
            c.gridx = 1;
283
            c.gridy = 3;
284
            pnlTools.add(lblMinPriority, c);
285
            
286
            c.gridx = 1;
287
            c.gridy = 4;
288
            pnlTools.add(lblBlockedPriority, c);
289
            
267
            c.insets = new Insets(5,5,5,5);    
290 268
            c.gridx = 0;
291 269
            c.gridy = 0;
292 270

  
......
313 291
				iterator.hasNext();) {
314 292
					EditorTool editorTool = iterator.next();
315 293
					AbstractButton button = editorTool.getButton();
294
					
295
					JLabel lbl = new JLabel("");
296
					lbl.setText(button.getToolTipText());
297
					
316 298
					button.addActionListener(this);
299

  
300
					c.gridx = 0;
317 301
					c.gridy++;
318 302
					pnlTools.add(button,c);    
319 303
					group.add(button);
304
					
305
					c.gridx = 1;
306
					pnlTools.add(lbl, c);
320 307

  
321 308
					tools.put(button, editorTool);
322 309

  

Also available in: Unified diff