This fails under OSX though. i.e.,
applying the #PB_Text_Center flag leaves justification as left-hand and makes the StringGadget un-selectable whereas the #PB_Text_Right flag still leaves the justification as left-hand and puts the StringGadget into 'password' mode.

Can anyone suggest how to make the StringGadget display right-justification or - more critically - centre-justification?
TIA
Dave