seems like your dynamically created button has no size ( width and height)? that is why you won’t see the Rectangle I guess.
Edit: eddy was faster :D
↧