Index: /trunk/www/db_po/po.js
===================================================================
--- /trunk/www/db_po/po.js	(revision 12029)
+++ /trunk/www/db_po/po.js	(revision 12030)
@@ -188,5 +188,5 @@
     //field descr
     input4 = document.createElement("INPUT");
-    input4.style.width = 200;
+    input4.style.width = 300;
     input4.id = 'newdescr0';
     switch(addcase)
@@ -201,5 +201,5 @@
         //fields for keys
         input2 = document.createElement("INPUT");
-        input2.style.width = 100;
+        input2.style.width = 200;
         input2.id = '1key0';
         cell2.appendChild(input2);
@@ -261,5 +261,5 @@
         input2 = document.createElement("INPUT");
         input2.id = '1key0';
-        input2.style.width = 100;
+        input2.style.width = 200;
         if (key1)
             input2.value = key1;
@@ -337,5 +337,5 @@
         //field for val
         input3 = document.createElement("INPUT");
-        input3.style.width = 100;
+        input3.style.width = 200;
         input3.id = 'newval0';
         cell3.appendChild(input3);
@@ -470,11 +470,13 @@
     }
     else
-        textval="<input align='right' id='newval"+index+"' value='"+oldval+"'>";
+        textval="<input size='30' align='right' id='newval"+index+"' value='"+oldval+"'>";
     document.getElementById('val'+index).innerHTML = textval;
     //set field for description
-    document.getElementById('descr'+index).innerHTML = "<input align='right' id='newdescr"+index+"' value='"+olddescr+"'>";
-    // added to make min/max editable
-    document.getElementById('min'+index).innerHTML = "<input align='right' id='newmin"+index+"' value='"+oldmin+"'>";
-    document.getElementById('max'+index).innerHTML = "<input align='right' id='newmax"+index+"' value='"+oldmax+"'>";
+    document.getElementById('descr'+index).innerHTML = "<input size='40' align='right' id='newdescr"+index+"' value='"+olddescr+"'>";
+    if (oldtype=='int' || oldtype=='float')
+    {
+        document.getElementById('min'+index).innerHTML = "<input size='5' align='right' id='newmin"+index+"' value='"+oldmin+"'>";
+        document.getElementById('max'+index).innerHTML = "<input size='5' align='right' id='newmax"+index+"' value='"+oldmax+"'>";
+    }
     /*
     //set field for type
