src/Builder4/PopoverProperty.bjs
authorAlan <alan@roojs.com>
Thu, 9 Jun 2022 04:49:45 +0000 (12:49 +0800)
committerAlan <alan@roojs.com>
Thu, 9 Jun 2022 04:49:45 +0000 (12:49 +0800)
src/Builder4/PopoverProperty.vala

src/Builder4/PopoverProperty.bjs
src/Builder4/PopoverProperty.vala

index 0581d17..3b20287 100644 (file)
@@ -28,6 +28,7 @@
       {
        "$ xns" : "Gtk",
        "* pack" : "add",
+       "Gtk.Align halign" : "Gtk.Align.START",
        "Gtk.Justification justify" : "Gtk.Justification.LEFT",
        "label" : "Special Flags",
        "x_options" : 4,
        "$ visible" : true,
        "$ xns" : "Gtk",
        "* pack" : "add",
+       "Gtk.Align halign" : "Gtk.Align.START",
        "Gtk.Justification justify" : "Gtk.Justification.LEFT",
        "label" : "Type or Return Type",
        "x_options" : 4,
-       "xalign" : 0.90000000000000002,
        "xtype" : "Label"
       },
       {
        "label" : "Name",
        "tooltip_text" : "center, north, south, east, west",
        "x_options" : 4,
-       "xalign" : 0.90000000000000002,
        "xtype" : "Label"
       },
       {
index 7c078eb..e3a6850 100644 (file)
@@ -232,6 +232,7 @@ public class Xcls_PopoverProperty : Object
             // my vars (dec)
 
             // set gobject values
+            this.el.halign = Gtk.Align.START;
             this.el.justify = Gtk.Justification.LEFT;
         }
 
@@ -409,8 +410,8 @@ public class Xcls_PopoverProperty : Object
             // my vars (dec)
 
             // set gobject values
+            this.el.halign = Gtk.Align.START;
             this.el.justify = Gtk.Justification.LEFT;
-            this.el.xalign = 0.900000f;
             this.el.visible = true;
         }
 
@@ -459,7 +460,6 @@ public class Xcls_PopoverProperty : Object
 
             // set gobject values
             this.el.justify = Gtk.Justification.LEFT;
-            this.el.xalign = 0.900000f;
             this.el.tooltip_text = "center, north, south, east, west";
             this.el.visible = true;
         }