我将文本附加到文本字段。由于某些州的名称很长,因此列的格式不正确。我能做些什么?
...
_result.append(text+"\n");
看起来像:
Alabama 1900 Birmingham Wide-Awake 1
District of Columbia 1901 Birmingham Wide-Awake 40
Illinois 1900 Blakeley Blakeley Sun 10
Colorado 1901 Blakeley Blakeley Sun 20
West Virginia 1900 Cahawba Alabama Watchman 30
Alabama 1901 Cahawba Alabama Watchman 50