Commits

Ronny Pfannschmidt  committed 176034c

add scrolling to the fail file collection

  • Participants
  • Parent commits fe997f0

Comments (0)

Files changed (1)

File pytest_gui/gtkui/filefails.py

         ])
         self.collection.set_headers_visible(False)
         self.collection.show()
+        self.coll_scroll = gtk.ScrolledWindow()
+        self.coll_scroll.add(self.collection)
 
         self.paned = gtk.HPaned()
-        self.paned.add(self.collection)
+        self.paned.add(self.coll_scroll)
         self.paned.show()
         self.textview = gtk.TextView()
-        self.scroll = gtk.ScrolledWindow()
-        self.scroll.add(self.textview)
-        self.paned.add(self.scroll)
+        self.text_scroll = gtk.ScrolledWindow()
+        self.text_scroll.add(self.textview)
+        self.paned.add(self.text_scroll)
         self.widget.add(self.paned)
+        self.widget.set_size_request(800, 400)
 
         self.widget.connect('delete_event', gtk.Widget.hide_on_delete)