my $label = Prima::Label-> create(
text => 'Enter ~name:',
focusLink => $name_inputline,
alignment => ta::Center,
);
ta::Left
ta::Center
ta::Right
Selects the horizontal text alignment.
Default value: "ta::Left"
Default value: 0
Default value: 1
Prima::Label does not provide a separate property to access the hot key value, however it can be read from the "{accel}" variable.
Default value: "undef".
If 1, the text is showed as is, and no hot character is underlined. Key combinations with "Alt" key are not recognized.
Default value: 0
Default value: 1
If 0, the text is not wrapped unless new line characters are present in the text.
New line characters signal line wrapping with no respect to "wordWrap" property value.
Default value: 0
ta::Top
ta::Middle or ta::Center
ta::Bottom
Selects the vertical text alignment.
NB: "ta::Middle" value is not equal to "ta::Center"'s, however the both constants produce equal effect here.
Default value: "ta::Top"