Rectangle type conversion

what would be the best way to convert an integer rectangle to a float one?
all of my

are dead…

found it :smiley:

Use getLocalBounds() instead and you got it right.

not in my case ( i am really doing child->getBounds() ), but its great to see this method. it shall be very useful, thanks!