I created 2 columns inside the flow panel and put the data tb1 into the first column and tb2 into the second. the only issue I may have is the tab order.
EDIT: I’ve had to revert back to my previous layout as the tab order goes down instead of across and I dont think you have the option of setting the tab order on Anvil yet?
You could use the lost focus event on the first component to set the focus on the next component - that way your tab will move to the next one you want it to.
Just another thought, instead of creating the text boxes and date pickers programmatically, why not create them in another form in the IDE and just add that form to your container programmatically. This way you can layout your components how you like and then add an infinite number of that form to your main form