src/Builder4/GladeuiView.bjs
authorAlan <alan@roojs.com>
Mon, 30 May 2022 07:27:31 +0000 (15:27 +0800)
committerAlan <alan@roojs.com>
Mon, 30 May 2022 07:27:31 +0000 (15:27 +0800)
src/Builder4/GladeuiView.vala

src/Builder4/GladeuiView.bjs
src/Builder4/GladeuiView.vala

index 3840557..8715b0e 100644 (file)
     "() {",
     "\t _this.designview =  new Xcls_designview( _this );",
     "\t ",
-    "\t _this.notebook.el.append_page(_this.designview.el, _this.label_preview.el);",
+    "\t var box = new Gtk.Box();",
+    "\t ",
+    "\t _this.notebook.el.append_page(box, _this.label_preview.el);",
+    "\t ",
+    "\t ",
+    "",
+    "\t box.pack_start(_this.designview.el);",
+    "\t box.pack_start(pal);",
+    "\t box.pack_start(ins);",
+    "\t \t ",
+    "\t ",
     "}",
     ""
    ],
index 50c71ea..0939a40 100644 (file)
@@ -200,7 +200,17 @@ public class Xcls_GladeuiView : Object
     public void initGlade () {
         _this.designview =  new Xcls_designview( _this );
         
-        _this.notebook.el.append_page(_this.designview.el, _this.label_preview.el);
+        var box = new Gtk.Box();
+        
+        _this.notebook.el.append_page(box, _this.label_preview.el);
+        
+        
+    
+        box.pack_start(_this.designview.el);
+        box.pack_start(pal);
+        box.pack_start(ins);
+                
+        
     }
     public class Xcls_notebook : Object
     {