print dialog: do not use deprecated properties and alignment widget