Index: /applications/editors/josm/plugins/smed/build.xml
===================================================================
--- /applications/editors/josm/plugins/smed/build.xml	(revision 27382)
+++ /applications/editors/josm/plugins/smed/build.xml	(revision 27383)
@@ -41,6 +41,6 @@
     <!-- this is the directory where the plugin jar is copied to -->
     <property name="plugin.dist.dir" value="../../dist"/>
+    <property name="smed_core.dist.dir" value="core/dist/"/>
     <property name="ant.build.javac.target" value="1.5"/>
-    <property name="plugin.dist.dir" value="../../dist"/>
     <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/>
     <!--
Index: /applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelSectors.java
===================================================================
--- /applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelSectors.java	(revision 27382)
+++ /applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelSectors.java	(revision 27383)
@@ -69,5 +69,5 @@
 		getContentPane().add(panel);
 
-		table.setSize(860, ((table.getRowCount() * 16) + 20));
+		table.setSize(860, ((table.getRowCount() * 16) + 24));
 		
 		table.setDefaultRenderer(String.class, new CentreRenderer());
@@ -278,7 +278,7 @@
 	public void addSector(int idx) {
 		dlg.panelMain.mark.addLight(idx);
-		table.setSize(860, ((table.getRowCount() * 16) + 18));
+		table.setSize(860, ((table.getRowCount() * 16) + 24));
 		if (table.getRowCount() > 3) {
-			setSize(900, ((table.getRowCount() * 16) + 40));
+			setSize(900, ((table.getRowCount() * 16) + 44));
 		} else {
 			setSize(900, 100);
@@ -289,7 +289,7 @@
 		if (idx > 0) {
 			dlg.panelMain.mark.delLight(idx);
-			table.setSize(860, ((table.getRowCount() * 16) + 20));
+			table.setSize(860, ((table.getRowCount() * 16) + 24));
 			if (table.getRowCount() > 3) {
-				setSize(900, ((table.getRowCount() * 16) + 40));
+				setSize(900, ((table.getRowCount() * 16) + 44));
 			} else {
 				setSize(900, 100);
@@ -300,7 +300,7 @@
 	public void syncPanel() {
 		table.updateUI();
-		table.setSize(860, ((table.getRowCount() * 16) + 18));
+		table.setSize(860, ((table.getRowCount() * 16) + 24));
 		if (table.getRowCount() > 3) {
-			setSize(900, ((table.getRowCount() * 16) + 40));
+			setSize(900, ((table.getRowCount() * 16) + 44));
 		} else {
 			setSize(900, 100);
