STS-3899: replace FIELD_LABEL_WIDTH_HINT constant with
a function that scales based on dialog font size