Zum Inhalt springen

GIFBUILDER maximale breite / maximale höhe

Erstellt am 17. Januar 2009 · 2 Antworten · letzte Antwort am 25. Januar 2009

Tags: Bilder, Frage

pow ·

Bin noch immer nicht so TS fit, deshalb bin ich noch am tüfteln wie ich bestimmen kann das WENN es eine zweite Zeile gibt, das er die Höhe von dieser dazu addieren soll. Mein momentanter TS, funzt hinten und vorne nicht 😉

tt_content.header.20 > 

lib.stdheader.10.1 = IMAGE
lib.stdheader.10.1 {
	alttext.field = header // subheader
	wrap = |<br />
	file = GIFBUILDER
	file {
		XY = [10.w]+30,[10.h]
		useLargestItemX = 1
		backColor = white
		antiAlias = 1	
		10 = TEXT
		10 {
			text.field = header
			text.current = 1	
			fontSize = 27
			offset = 0,18
			fontFile =  fileadmin/fonts/papyrus.ttf	
			fontColor = #bc1010
			niceText = 0
			antiAlias = 1
		}
		10.text.listNum = 0
		10.text.listNum.splitChar = |	
        	15 < .10
        	15.text.listNum = 1
	        15.offset = 0, 40
	}			
}
pow ·

Ok das klappt ganz gut, jedoch würde ich trotzdem gerne die Lösung wissen für die ermittlung des breitesten Elementes.

tt_content.header.20 > 

lib.stdheader.10.1 = IMAGE
lib.stdheader.10.1 {
	alttext.field = header // subheader
	wrap = |<br />
	file = GIFBUILDER
	file {
		XY = [10.w]*3,[10.h]*3
		maxWidth = 650
		maxHeight = 50
		backColor = white
		antiAlias = 1	
		10 = TEXT
		10 {
			text.field = header
			text.current = 1	
			fontSize = 27
			offset = 0,18
			fontFile =  fileadmin/fonts/papyrus.ttf	
			fontColor = #bc1010
			niceText = 0
			antiAlias = 1
		}
		10.text.listNum = 0
		10.text.listNum.splitChar = |	
        	15 < .10
        	15.text.listNum = 1
	        15.offset = 0, 40
	}			
}
pow ·

Ich habe das gefühl das

useLargestItemX

überhaupt nicht funktioniert.

In google wird immer noch nach Lösungen gesucht, kann Typo3 bzw. Gifbuilder das einfach nicht?