Left-aligned text

This commit is contained in:
Tristan B. Kildaire 2020-10-20 19:23:54 +02:00
parent 4bab9d04c5
commit 5ae50a098f
1 changed files with 3 additions and 1 deletions

View File

@ -285,11 +285,13 @@ public class GUI : Thread
/* Add the channel label */
Label channelLabel = new Label("");
channelLabel.setHalign(GtkAlign.START);
channelLabel.setMarkup("<b>"~channelName~"</b>");
/* 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);