Selaa lähdekoodia

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 vuotta sitten
vanhempi
sitoutus
3318e254b8
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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,
             sgeFrame, nodePath = render,
             scrolledCanvas_hull_width = 250,
             scrolledCanvas_hull_width = 250,
             scrolledCanvas_hull_height = 300)
             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
         # Create the notebook pages
         notebook = Pmw.NoteBook(notebookFrame)
         notebook = Pmw.NoteBook(notebookFrame)