Hey,
I am having trouble with my code with in each count it’s suppose to view the items as a editable textfield but instead it shows row text in the OnGUI method
here is the code
//Just some basic styles for the items
GUIStyle itemsContent = new GUIStyle (GUI.skin.textArea);
itemsContent.fontSize= 14;
Color32 textcolor = new Color32 (139,90,43,255);
itemsContent.normal.textColor = textcolor;
itemsContent.normal.background = null;
itemsContent.hover.textColor= textcolor;
GUI.backgroundColor = Color.clear;
//for loop for getting items and setting them for the user
for(cnt = 0 ; cnt < numofLabels ; cnt++){
GUI.backgroundColor = Color.yellow;
itemTemp = items[cnt].getItms(); // array which has items from DB
GUI.Box(new Rect(610,200+(70*cnt),260,70),"Items List: " + GUILayout.TextField(itemTemp,25) +"
",itemsContent);
}
Thank you so much