+1
Отвечен
difference between align and alignment?
While working on my first app, I've noticed that there are two types of alignment tags. "Alignment" and "align" seem to work on different things. What are the correct use cases for both?
Сервис поддержки клиентов работает на платформе UserEcho
'alignment' is used within a text object tag. This serves to align the text within the text area created when the text tag is invoked. Alignment can be used to move your text to a left, right, or center alignment.
<text name="main" width="110" height="100" color="#000000" font="courier" size="12" align="center" valign="center" alignment="center" text="Hello World!"></text>
I was having trouble getting my text to be centered, so I did try the 'alignment' attribute to get it to be centered.
The tutorial does use the alignment tag in step 2 when you wrap your text tag in a panel tag for placement in the PDF.
Can you give me some more detail on where you were having trouble?