Commit 09643ef2bbec7a43d26af23300f87dcfa6dd6f9b

Authored by Edmar Moretti
1 parent e3f347b2

Correção no overflow da janela que lista as geometrias no editor vetorial

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
ferramentas/editorol/editorol.js
@@ -2041,6 +2041,7 @@ i3GEO.editorOL = @@ -2041,6 +2041,7 @@ i3GEO.editorOL =
2041 iframe : true, 2041 iframe : true,
2042 width : "380px", 2042 width : "380px",
2043 height : "300px", 2043 height : "300px",
  2044 + overflow: "auto",
2044 visible : false, 2045 visible : false,
2045 draggable : true, 2046 draggable : true,
2046 close : true 2047 close : true
@@ -2061,7 +2062,7 @@ i3GEO.editorOL = @@ -2061,7 +2062,7 @@ i3GEO.editorOL =
2061 YAHOO.editorOL.listaGeometrias.panel.render(document.body); 2062 YAHOO.editorOL.listaGeometrias.panel.render(document.body);
2062 } 2063 }
2063 var id, temp, geos = i3GEO.desenho.layergrafico.getSource().getFeatures(), n = geos.length, ins = ""; 2064 var id, temp, geos = i3GEO.desenho.layergrafico.getSource().getFeatures(), n = geos.length, ins = "";
2064 - ins += '<div class="container-fluid" style="height:100%;overflow:auto;">'; 2065 + ins += '<div class="container-fluid" style="height:210px;overflow:auto">';
2065 while (n > 0) { 2066 while (n > 0) {
2066 n -= 1; 2067 n -= 1;
2067 id = geos[n].getId(); 2068 id = geos[n].getId();
@@ -2074,7 +2075,7 @@ i3GEO.editorOL = @@ -2074,7 +2075,7 @@ i3GEO.editorOL =
2074 } 2075 }
2075 ins += "</div>"; 2076 ins += "</div>";
2076 if (geos.length === 0) { 2077 if (geos.length === 0) {
2077 - ins = '<div class="container-fluid" style="height:100%;overflow:auto;">' + $trad("meneditor2") + "</div>"; 2078 + ins = '<div class="container-fluid" >' + $trad("meneditor2") + "</div>";
2078 } 2079 }
2079 YAHOO.editorOL.listaGeometrias.panel.setBody(ins); 2080 YAHOO.editorOL.listaGeometrias.panel.setBody(ins);
2080 YAHOO.editorOL.listaGeometrias.panel.show(); 2081 YAHOO.editorOL.listaGeometrias.panel.show();