The combobox to select the alignment in the paragraph format dialog did not have enough height to display the dropdown list. Also, code was missing to set the alignment when OK button is pressed. This patch fixes these issues.