X6 How to centre a txt box inside a table cell

I know how to centre txt inside the txt box.   But can anyone help with centring the txt box inside a table cell.   I am new at this and I have spent days trying to work this out

Your time to respond is appreciated