RTLTMPro
RTLTMPro copied to clipboard
Dropdown items not showing RTL correctly (+ workaround)
I have added a TMPro Dropdown, and replaced the item's TMPro with RTLTMPro. I created options normally at runtime but the RTL text showed incorrectly.
The workaround was to add a simple script to the Item Label object (used to create dropdown items) which does this:
public class RTLDropdownUpdate : MonoBehaviour
{
[SerializeField] private RTLTextMeshPro Text;
protected void Start()
{
string s = Text.text;
Text.text = s;
}
}
I have tested a few other solutions, including ForceFix, but this is the workaround that worked.