hey leute,
bei der darstellung einer überschrift mit dem GIFBUILDER hab ich folgendes problem: das erzeugte bild ist immer gleich hoch. also wenn die überschrift zweizeilig ist, passt es perfekt, aber bei nur einer zeile habe ich zuviel abstand zum darunter liegenden content (weil ja das bild zu hoch ist).
hier ein auszug:
Typoscript-Code:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25:
| lib.stdheader.10 { 1 = IMG_RESOURCE 1 { file = GIFBUILDER file { XY = [10.w],[10.h]+[20.h]+3 backColor = #ffffff transparentColor = #ffffff transparentBackground = 1 10 = TEXT 10 { text.listNum = 0 text.listNum.splitChar = | text.field = header fontSize = 21px fontFile = fileadmin/font/RotisSanSerBol.ttf fontColor = #000000 offset = 0,20 } 20 < .10 20.text.listNum = 1 20.offset = 0,[10.h]+23 } - ERROR: Line 24: The script is short of 2 end brace(s) |
wird wohl irgendwie an den XY-werten liegen, aber ich komm nich dahinter...
danke schonmal!
lanowar