diff --git a/src/main/java/envoy/client/ui/listcell/MessageListCell.java b/src/main/java/envoy/client/ui/listcell/MessageListCell.java index be66259..8edd772 100644 --- a/src/main/java/envoy/client/ui/listcell/MessageListCell.java +++ b/src/main/java/envoy/client/ui/listcell/MessageListCell.java @@ -58,8 +58,7 @@ public class MessageListCell extends ListCell { cell.getChildren().add(textLabel); // Setting the message status icon and background color if (message.getRecipientID() != client.getID()) { - final var statusIcon = new Label("", new ImageView(statusImages.get(message.getStatus()))); - statusIcon.setPadding(new Insets(1, 0, 5, 5)); + final var statusIcon = new ImageView(statusImages.get(message.getStatus())); cell.getChildren().add(statusIcon); cell.getStyleClass().add("own-message"); } else cell.getStyleClass().add("received-message");