Align memory data columns text on left side
authorHugo Villeneuve <hugo@hugovil.com>
Mon, 21 Oct 2013 02:12:19 +0000 (22:12 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Wed, 6 Nov 2013 02:50:17 +0000 (21:50 -0500)
src/memwin.c

index d8441fb..2c7fde1 100644 (file)
@@ -159,8 +159,8 @@ memwin_init_columns(GtkWidget *listview, int memory_id)
                /* Create new renderer for each editable cell. */
                renderer = gtk_cell_renderer_text_new();
 
-               /* Allow edition, align to right side. */
-               g_object_set(renderer, "editable", TRUE, "xalign", 1.0, NULL);
+               /* Allow edition, align to left side. */
+               g_object_set(renderer, "editable", TRUE, "xalign", 0, NULL);
 
                g_signal_connect(renderer, "edited",
                                 G_CALLBACK(memwin_cell_edited),