Builder/RightGtkView.js
authorAlan Knowles <alan@akkbhome.com>
Sun, 16 May 2010 02:08:38 +0000 (10:08 +0800)
committerAlan Knowles <alan@akkbhome.com>
Sun, 16 May 2010 02:08:38 +0000 (10:08 +0800)
Builder/RightGtkView.js

index 2a55350..8fb9c86 100755 (executable)
@@ -69,6 +69,12 @@ RightGtkView = new XObject({
                         
                             id : 'view-vbox',
                             xtype : Gtk.ViewPort,
+                            init : function () {
+                                XObject.prototype.init.call(this); 
+                                this.el.set_hadjustment(this.parent.el.get_hadjustment);
+                                this.el.set_vadjustment(this.parent.el.get_vadjustment);
+                                    
+                            },
                             packing : ['add' ],
                             items: [
                             {