Please take it as friendly suggestions how to ask questions better.
I sincerely suggest you to read.
Are you doing it just for learning purposes, or is there some deeper meaning behind the rectangles and their positions on screen?
but I believe that in a forum you'd get better response if you tried to express yourself in a more clear and focused way.
And I'd still struggle to understand the purpose of the application...
I'd much rather help 10 people with my hour than one.
I have seen large (relatively) code being posted, but it is obvious that the OP did a lot of work (probably writting that code just for the ranch) -- as such, I don't have an issue with spending time on it. If the OP spent that much time on doing a test application, just to show everything, I can spend some time on it too.