Extract TextFragment to separate class
Use non-breaking spaces for padding