src/Builder4/Editor.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 26 Mar 2024 15:25:21 +0000 (23:25 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 26 Mar 2024 15:25:21 +0000 (23:25 +0800)
src/Builder4/Editor.vala

src/Builder4/Editor.bjs
src/Builder4/Editor.vala

index cbac675..b699086 100644 (file)
@@ -60,6 +60,7 @@
            "$ xns" : "Gtk",
            "Gtk.Justification justify" : "Gtk.Justification.LEFT",
            "bool hexpand" : true,
+           "float xalign" : 0,
            "id" : "helper",
            "int margin_end" : 4,
            "int margin_start" : 4,
index 89508f8..51fb374 100644 (file)
@@ -544,6 +544,7 @@ public class Editor : Object
                        this.el.margin_start = 4;
                        this.el.justify = Gtk.Justification.LEFT;
                        this.el.hexpand = true;
+                       this.el.xalign = 0f;
                }
 
                // user defined functions