Actions
Feature #17466
closedCaluculate of gifbuilder XY width max([10.w]|[20.w])
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2007-07-12
Due date:
% Done:
0%
Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:
Description
You want to create a GMENU by useing TypoScript.
The text of the GMENU should have 2 lines.
In one case the first line is longer. In another case the second line is longer.
So you need maximum line width of these two lines.
The patch calculate this by using the max-function.
1 = GMENU
1 {
NO {
XY = max([10.w]|[20.w])+4, 32
10 = TEXT
10 {
text.field = title
text.case = upper
fontSize = 6
fontColor = #333333
fontFile = {$const.navigation.main.font}
offset = 0,14
align = center
}
20 = TEXT
20 {
text.field = subtitle
text.case = upper
fontSize = 6
fontColor = #333333
fontFile = {$const.navigation.main.font}
offset = 0,24
align = center
}
(issue imported from #M5954)
Files
Actions