Dual Pane Borders

I’m creating an app where the team I’m helping would like a border around two panes of text.

There are two problems:

  1. The border gets distorted in odd ways, and
  2. It would be ideal if the border went around the outside of both panes, not around each pane individually–so that the horizontal portion wasn’t duplicated in the middle bar.

I’m assuming there isn’t currently a way of doing this, though if there is I’d love to know how. So, I’m requesting that at least #2 gets addressed (if the border goes around the whole thing, then the distortion in #1 will no longer be an issue.

Here’s a test example I created for public distribution: