CCLayoutBox doesn't take into account transform of the node
s1ddok opened this issue · 2 comments
s1ddok commented
As I see it CCLayoutBox ignores transform of the node such as scale property, for example.
Wouldn't it be better if instead of this
float height = child.contentSizeInPoints.height
We'd use something like
float height = [child boundingBox].size.height
?
Birkemose commented
It sounds reasonable that it should take scale into consideration, but I simply do not know what implications this would have on SpriteBuilder, so I am afraid we will have to leave it as this for now.
s1ddok commented
Fixed now in 3.5