Can someone help me to solve or workaround in this issue?
I create some GUI using GUILayout, I can’t figure it out how to pake my PasswordField have same position with my TextField:
Here is my code:
setGUIMatrix ();
// FORM | Login label
GUILayout.BeginArea (Rect (190, 309, 100, 96));
GUILayout.BeginVertical ();
GUILayout.Label ("Username", loginLabelGUIStyle);
GUILayout.Label ("Password", loginLabelGUIStyle);
GUILayout.EndVertical ();
GUILayout.EndArea ();
// FORM | Login input and button
GUILayout.BeginArea (Rect (290, 309, 320, 96));
GUILayout.BeginVertical ();
pUsername = GUILayout.TextField (pUsername, 25, loginTextGUIStyle);
pPassword = GUILayout.PasswordField (pPassword, /*"●"*/"-"[0], 25, loginPasswordGUIStyle);
GUILayout.EndVertical ();
GUILayout.EndArea ();
And result is in bottom,
Regards,
AINdrc