I finally managed a workaround for the same.
I got rid of rectangle
control & brought all the controls outside rectangle
.
Then I manipulated the borders again on all the elements & it worked as desired.
Please share, if you find a better potential solution.