I want to use getRect to get the bounds of my UIComponent. I just noticed that if my UIComponent has children that extend beyond the X/Y/Width/Height of my parent UIComponent, the rect returned extends to the boundaries of the largest child.
Is there an alternate method that I could use? My hack to get around this is to override getRect and have it use another child that I force to be the size of the parent, whose size I am interested in. Thanks! Another problem that I see seems related. The hitTestObject method seems to have the same problem. It seems to be finding matches even though the parent UIComponent is clearly not a match. It must also be using boundaries of the children. Any thoughts? Thanks!