src/Builder4/MainWindow.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 15 May 2015 09:04:01 +0000 (17:04 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 15 May 2015 09:04:01 +0000 (17:04 +0800)
src/Builder4/MainWindow.vala

src/Builder4/MainWindow.bjs
src/Builder4/MainWindow.vala

index ef9a641..90ce751 100644 (file)
          "$ xns" : "Gtk"
         },
         {
-         "Gtk.ToolbarStyle toolbar_style" : "Gtk.ToolbarStyle.BOTH",
+         "Gtk.ToolbarStyle toolbar_style" : "Gtk.ToolbarStyle.BOTH_HORIZ",
          "xtype" : "Toolbar",
-         "* pack" : "pack_end,false,false,0",
+         "* pack" : "pack_end,false,true,0",
          "$ xns" : "Gtk",
          "Gtk.IconSize icon_size" : "Gtk.IconSize.SMALL_TOOLBAR",
          "Gtk.Orientation orientation" : "Gtk.Orientation.HORIZONTAL",
index 07ae586..e7ab921 100644 (file)
@@ -2146,7 +2146,7 @@ public class Xcls_MainWindow : Object
             this.el.pack_start (  child_0.el , true,true,0 );
             var child_1 = new Xcls_Toolbar68( _this );
             child_1.ref();
-            this.el.pack_end (  child_1.el , false,false,0 );
+            this.el.pack_end (  child_1.el , false,true,0 );
         }
 
         // user defined functions 
@@ -2213,7 +2213,7 @@ public class Xcls_MainWindow : Object
             // set gobject values
             this.el.orientation = Gtk.Orientation.HORIZONTAL;
             this.el.icon_size = Gtk.IconSize.SMALL_TOOLBAR;
-            this.el.toolbar_style = Gtk.ToolbarStyle.BOTH;
+            this.el.toolbar_style = Gtk.ToolbarStyle.BOTH_HORIZ;
             var child_0 = new Xcls_ToolButton69( _this );
             child_0.ref();
             this.el.add (  child_0.el  );