old option is shown in TextAlignment dropdown

Started by arj0n, Thu 25/02/2021 13:18:09

Previous topic - Next topic

arj0n

When typing <labelname>.TextAlignment = " the dropdownbox with the text alignment values (for gui labels) shows an obsolete value (eAlignCentre):

Code: ags
eAlignCenter
eAlignCentre
eAlignLeft
eAlignRight


The properties-box in the editor shows correctly the 3 values:
Code: ags
Center
Left
Right

Crimson Wizard

#1
This is extra value exists for backward compatibility with some old scripts.
EDIT: in latest versions this value is only declared if you have script compat mode set to 3.4.1 or lower.
Autocomplete is filled automatically from the script headers, so it displays everything.

arj0n


SMF spam blocked by CleanTalk