diff --git a/src/main/java/eu/m724/chaqt/QMessage.java b/src/main/java/eu/m724/chaqt/QMessage.java index 4ddcdaa..20d53e3 100644 --- a/src/main/java/eu/m724/chaqt/QMessage.java +++ b/src/main/java/eu/m724/chaqt/QMessage.java @@ -18,7 +18,7 @@ public class QMessage extends QWidget { layout.addWidget(label); if (assistant) { - layout.setContentsMargins(5,0,0, 0); + label.setContentsMargins(5,0, 0, 0); } setLayout(layout);