Implement label at-minimum/at-maximum/centre for ternary widget.

Changes calculation of label positions for centre, so position is now
more "correct".