<div dir="ltr"><div><div><div>Hi dear group<br><br>I have a topographic layer that I want to put labels when the contour is multiplo of 200. I got it with this large conditional sentence:<br><br>case<br><br>when ("Z_msnm" =200 OR "Z_msnm" =400 OR "Z_msnm" =600 OR "Z_msnm" =800 OR "Z_msnm" =1000 OR "Z_msnm" =1200 OR "Z_msnm" =1400 OR "Z_msnm" =1600 OR "Z_msnm" =1800 OR "Z_msnm" =2000 OR "Z_msnm" =2200 OR "Z_msnm" =2400 OR "Z_msnm" =2600 OR "Z_msnm" =2800 OR "Z_msnm" =3000 OR "Z_msnm" =3200 OR "Z_msnm" =3400 OR "Z_msnm" =3600 OR "Z_msnm" =3800 OR "Z_msnm" =4000 OR "Z_msnm" =4200 OR "Z_msnm" =4400 OR "Z_msnm" =4600 OR "Z_msnm" =4800 OR "Z_msnm" =5000 OR "Z_msnm" =5200 OR "Z_msnm" =5400 OR "Z_msnm" =5600 OR "Z_msnm" =5800 OR "Z_msnm" =6000 OR "Z_msnm" =6200 OR "Z_msnm" =6400 OR "Z_msnm" =6600 OR "Z_msnm" =6800) then "Z_msnm"<br>

<br>end<br><br>After to do this condition all was ok, but an issue appear: the "label layer configuration window" tries to show the condition in one line only, so the width of this window is so long that the right part of this window goes out of monitor visible area.<br>

<br>Is there some way to avoid this?. It happens even if each condition is in diferent lines (QGIS 1.8 on Ubuntu 12.04 and Windows 7). <br><br>Is there another smaller condition to use instead that the one I made?  <br><br>
Thank you in advance for any help<br><br></div><div>------ 8< --- Spanish version ---<br>
</div><div><br></div><div>Hola estimado grupo:<br><br></div><div>Tengo una capa topográfica a la cual  deseo colocar etiquetas en las curvas de nivel múltiplo de 200. Esto lo hice con la condición mostrada arriba.<br><br>

</div><div>case <br></div><div>when ("Z_msnm ... etc<br></div><div>end<br></div><br></div>La condición trabaja bien, pero aparece un problema: la ventana de "configuración del etiquetado de la capa" muestra la condición en una sola línea, así que el ancho es tan grande que la parte derecha de esta ventana sale fuera del área  visible del monitor.<br>

<br></div><div>¿Existe alguna manera de evitar esto? Esto sucede inclusive si cada condición está en una línea diferente ( QGIS 1.8 en Ubuntu 12.04 y Windows 7).<br><br> ¿Hay alguna condición más corta que podría utilizar en lugar de la que hice?<br>
<br></div><div>Gracias de antemano por cualquier ayuda<br>
<br>------ 8< -------<br><br></div><div>Carlos Cerdán<br></div></div>