Fix text alignment in print widget