From 5ae50a098f7e3d6884be135e3601a9ae995ba6c9 Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Tue, 20 Oct 2020 19:23:54 +0200 Subject: [PATCH] Left-aligned text --- source/gui.d | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/gui.d b/source/gui.d index 059427a..fd89147 100644 --- a/source/gui.d +++ b/source/gui.d @@ -285,11 +285,13 @@ public class GUI : Thread /* Add the channel label */ Label channelLabel = new Label(""); + channelLabel.setHalign(GtkAlign.START); channelLabel.setMarkup(""~channelName~""); /* Add the member count */ ulong memberCount = currentConnection.getClient().getMemberCount(channelName); Label memberCountLabel = new Label(""); + memberCountLabel.setHalign(GtkAlign.START); memberCountLabel.setText(to!(string)(memberCount)~" members"); /* Create the channel box */ @@ -305,7 +307,7 @@ public class GUI : Thread /* Add this then a button */ containerMain.add(channelBox); - containerMain.packEnd(joinButton,1,0,0); + containerMain.packEnd(joinButton,0,0,0);