Commit c26da21e23567ee70f9bba0651745aaebd6e3e57
1 parent
1e78a652
Exists in
master
and in
7 other branches
Correção no tamanho das imagens que são obtidas para compor a lista de símbolos no editor de legenda
Showing
3 changed files
with
16 additions
and
8 deletions
Show diff stats
.project
@@ -27,7 +27,7 @@ | @@ -27,7 +27,7 @@ | ||
27 | </natures> | 27 | </natures> |
28 | <filteredResources> | 28 | <filteredResources> |
29 | <filter> | 29 | <filter> |
30 | - <id>1456666496860</id> | 30 | + <id>1457389966059</id> |
31 | <name></name> | 31 | <name></name> |
32 | <type>30</type> | 32 | <type>30</type> |
33 | <matcher> | 33 | <matcher> |
@@ -36,7 +36,7 @@ | @@ -36,7 +36,7 @@ | ||
36 | </matcher> | 36 | </matcher> |
37 | </filter> | 37 | </filter> |
38 | <filter> | 38 | <filter> |
39 | - <id>1456666496874</id> | 39 | + <id>1457389966061</id> |
40 | <name></name> | 40 | <name></name> |
41 | <type>30</type> | 41 | <type>30</type> |
42 | <matcher> | 42 | <matcher> |
@@ -45,7 +45,7 @@ | @@ -45,7 +45,7 @@ | ||
45 | </matcher> | 45 | </matcher> |
46 | </filter> | 46 | </filter> |
47 | <filter> | 47 | <filter> |
48 | - <id>1456666496883</id> | 48 | + <id>1457389966064</id> |
49 | <name></name> | 49 | <name></name> |
50 | <type>30</type> | 50 | <type>30</type> |
51 | <matcher> | 51 | <matcher> |
@@ -53,5 +53,14 @@ | @@ -53,5 +53,14 @@ | ||
53 | <arguments>1.0-name-matches-false-false-.git</arguments> | 53 | <arguments>1.0-name-matches-false-false-.git</arguments> |
54 | </matcher> | 54 | </matcher> |
55 | </filter> | 55 | </filter> |
56 | + <filter> | ||
57 | + <id>1457389966067</id> | ||
58 | + <name></name> | ||
59 | + <type>26</type> | ||
60 | + <matcher> | ||
61 | + <id>org.eclipse.ui.ide.multiFilter</id> | ||
62 | + <arguments>1.0-name-matches-false-false-pacotes</arguments> | ||
63 | + </matcher> | ||
64 | + </filter> | ||
56 | </filteredResources> | 65 | </filteredResources> |
57 | </projectDescription> | 66 | </projectDescription> |
admin/admin.db
No preview for this file type
classesphp/classe_legenda.php
@@ -594,12 +594,11 @@ class Legenda | @@ -594,12 +594,11 @@ class Legenda | ||
594 | if ($tipo == 3){ | 594 | if ($tipo == 3){ |
595 | $tipo = 2; | 595 | $tipo = 2; |
596 | } //tipo raster | 596 | } //tipo raster |
597 | - if($imgdir == "") | ||
598 | - { | 597 | + if($imgdir == ""){ |
599 | $dir = $dir_tmp; | 598 | $dir = $dir_tmp; |
600 | } | 599 | } |
601 | - else | ||
602 | - {$dir = $dir_tmp."/".$imgdir; | 600 | + else{ |
601 | + $dir = $dir_tmp."/".$imgdir; | ||
603 | } | 602 | } |
604 | if($forca == true){ | 603 | if($forca == true){ |
605 | unlink($dir."/simbolos".$tipo.".inc"); | 604 | unlink($dir."/simbolos".$tipo.".inc"); |
@@ -635,7 +634,7 @@ class Legenda | @@ -635,7 +634,7 @@ class Legenda | ||
635 | //var_dump($lista);exit; | 634 | //var_dump($lista);exit; |
636 | $n = count($lista["nomes"]); | 635 | $n = count($lista["nomes"]); |
637 | for($i = 0; $i < $n; $i++){ | 636 | for($i = 0; $i < $n; $i++){ |
638 | - $ins .= "<img src='".$url."/".$lista["nomes"][$i]."' style='cursor:pointer;border: 5px solid #FFFFFF' title=".$pasta."/".$lista["nomes"][$i]." onclick='".$onclick."'>"; | 637 | + $ins .= "<img src='".$url."/".$lista["nomes"][$i]."' style='max-width: 80px;cursor:pointer;border: 5px solid #FFFFFF' title=".$pasta."/".$lista["nomes"][$i]." onclick='".$onclick."'>"; |
639 | } | 638 | } |
640 | } | 639 | } |
641 | } | 640 | } |