Changeset 27383 in osm for applications/editors/josm
- Timestamp:
- 2012-01-01T21:08:20+01:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/smed
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/build.xml
r27379 r27383 41 41 <!-- this is the directory where the plugin jar is copied to --> 42 42 <property name="plugin.dist.dir" value="../../dist"/> 43 <property name="smed_core.dist.dir" value="core/dist/"/> 43 44 <property name="ant.build.javac.target" value="1.5"/> 44 <property name="plugin.dist.dir" value="../../dist"/>45 45 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 46 46 <!-- -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelSectors.java
r27230 r27383 69 69 getContentPane().add(panel); 70 70 71 table.setSize(860, ((table.getRowCount() * 16) + 2 0));71 table.setSize(860, ((table.getRowCount() * 16) + 24)); 72 72 73 73 table.setDefaultRenderer(String.class, new CentreRenderer()); … … 278 278 public void addSector(int idx) { 279 279 dlg.panelMain.mark.addLight(idx); 280 table.setSize(860, ((table.getRowCount() * 16) + 18));280 table.setSize(860, ((table.getRowCount() * 16) + 24)); 281 281 if (table.getRowCount() > 3) { 282 setSize(900, ((table.getRowCount() * 16) + 4 0));282 setSize(900, ((table.getRowCount() * 16) + 44)); 283 283 } else { 284 284 setSize(900, 100); … … 289 289 if (idx > 0) { 290 290 dlg.panelMain.mark.delLight(idx); 291 table.setSize(860, ((table.getRowCount() * 16) + 2 0));291 table.setSize(860, ((table.getRowCount() * 16) + 24)); 292 292 if (table.getRowCount() > 3) { 293 setSize(900, ((table.getRowCount() * 16) + 4 0));293 setSize(900, ((table.getRowCount() * 16) + 44)); 294 294 } else { 295 295 setSize(900, 100); … … 300 300 public void syncPanel() { 301 301 table.updateUI(); 302 table.setSize(860, ((table.getRowCount() * 16) + 18));302 table.setSize(860, ((table.getRowCount() * 16) + 24)); 303 303 if (table.getRowCount() > 3) { 304 setSize(900, ((table.getRowCount() * 16) + 4 0));304 setSize(900, ((table.getRowCount() * 16) + 44)); 305 305 } else { 306 306 setSize(900, 100);
Note:
See TracChangeset
for help on using the changeset viewer.