diff --git a/landlords-client/src/main/java/org/nico/ratel/landlords/client/event/ClientEventListener_CODE_SHOW_ROOMS.java b/landlords-client/src/main/java/org/nico/ratel/landlords/client/event/ClientEventListener_CODE_SHOW_ROOMS.java index 43c6e04..919a05a 100644 --- a/landlords-client/src/main/java/org/nico/ratel/landlords/client/event/ClientEventListener_CODE_SHOW_ROOMS.java +++ b/landlords-client/src/main/java/org/nico/ratel/landlords/client/event/ClientEventListener_CODE_SHOW_ROOMS.java @@ -20,7 +20,7 @@ public class ClientEventListener_CODE_SHOW_ROOMS extends ClientEventListener{ List> roomList = Noson.convert(data, new NoType>>() {}); if(roomList != null && ! roomList.isEmpty()){ // "COUNT" begins after NICKNAME_MAX_LENGTH characters. The dash means that the string is left-justified. - String format = "#\t%s\t|\t%-" + NICKNAME_MAX_LENGTH + "s\t|\t%s\t|\t%s\t#\n"; + String format = "#\t%s\t|\t%-" + NICKNAME_MAX_LENGTH + "s\t|\t%-6s\t|\t%-6s\t#\n"; FormatPrinter.printNotice(format, "ID", "OWNER", "COUNT", "TYPE"); for(Map room: roomList) { FormatPrinter.printNotice(format, room.get("roomId"), room.get("roomOwner"), room.get("roomClientCount"), room.get("roomType"));