Hi,
I’m trying to place large letter in a coordinate container to use as a kind of watermark.
It seems as if this causes the container to overflow vertically at some point prior to actually exceeding the dimensions. If either the label is big or the text size is larger than some point, the coordinate container wants to scroll.
See below:
View definition:
{
"custom": {},
"params": {},
"props": {
"defaultSize": {
"height": 600,
"width": 600
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"height": 507,
"width": 581
},
"props": {
"style": {
"fontSize": 500,
"textAlign": "center"
},
"text": "00"
},
"type": "ia.display.label"
}
],
"meta": {
"name": "root"
},
"type": "ia.container.coord"
}
}
How can I make a label display digits about as large as the parent container without causing overflow?
Regards,
Deon