Browse Source

Make the scene graph explorer occupy the empty space

Expand the sge to fill up the otherwise unused space below it, which is
useful for larger scenes.
fireclawthefox 9 years ago
parent
commit
3318e254b8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      direct/src/tkpanels/DirectSessionPanel.py

+ 2 - 2
direct/src/tkpanels/DirectSessionPanel.py

@@ -177,8 +177,8 @@ class DirectSessionPanel(AppShell):
             sgeFrame, nodePath = render,
             scrolledCanvas_hull_width = 250,
             scrolledCanvas_hull_height = 300)
-        self.SGE.pack(fill = BOTH, expand = 0)
-        sgeFrame.pack(side = LEFT, fill = 'both', expand = 0)
+        self.SGE.pack(fill = BOTH, expand = 1)
+        sgeFrame.pack(side = LEFT, fill = 'both', expand = 1)
 
         # Create the notebook pages
         notebook = Pmw.NoteBook(notebookFrame)