Hi kavya,
If you want to force them to have the same size, you have an easier way.
You set a container involving the two side-by-side containers and give it a class two-divs-full-height-division and add the following CSS:
.two-divs-full-height-division > div {
display: table-cell;
}
This will force the containers to have the same size and it will grow according to the size of the largest container. Your Widget Tree would look like this:

Hope it helps.
Regards,
João