Changeset 27385 in osm for applications
- Timestamp:
- 2012-01-01T21:17:58+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelSectors.java
r27383 r27385 69 69 getContentPane().add(panel); 70 70 71 table.setSize(860, ((table.getRowCount() * 16) + 2 4));71 table.setSize(860, ((table.getRowCount() * 16) + 28)); 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) + 2 4));280 table.setSize(860, ((table.getRowCount() * 16) + 28)); 281 281 if (table.getRowCount() > 3) { 282 setSize(900, ((table.getRowCount() * 16) + 4 4));282 setSize(900, ((table.getRowCount() * 16) + 48)); 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 4));291 table.setSize(860, ((table.getRowCount() * 16) + 28)); 292 292 if (table.getRowCount() > 3) { 293 setSize(900, ((table.getRowCount() * 16) + 4 4));293 setSize(900, ((table.getRowCount() * 16) + 48)); 294 294 } else { 295 295 setSize(900, 100); … … 300 300 public void syncPanel() { 301 301 table.updateUI(); 302 table.setSize(860, ((table.getRowCount() * 16) + 2 4));302 table.setSize(860, ((table.getRowCount() * 16) + 28)); 303 303 if (table.getRowCount() > 3) { 304 setSize(900, ((table.getRowCount() * 16) + 4 4));304 setSize(900, ((table.getRowCount() * 16) + 48)); 305 305 } else { 306 306 setSize(900, 100);
Note:
See TracChangeset
for help on using the changeset viewer.