From 1a7b2d567d89d0b66116e93110489de1598c0d5b Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Sun, 8 Sep 2024 08:53:20 +0200 Subject: [PATCH] this is better --- src/main/java/eu/m724/chaqt/QMessage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);