finally fixed that resize bug, now we can resize up&down at will

This commit is contained in:
jean-emmanuel 2015-04-08 20:10:29 +02:00 • committed by Jean-Emmanuel
parent 15e5202590
commit 84d2ed54b9
2 changed files with 6 additions and 3 deletions

View file

@ -82,10 +82,13 @@ class oscHtmlGui(object):
self.window.set_title(appName)
self.browser = webkit.WebView()
self.box = gtk.VBox(homogeneous=False, spacing=0)
self.window.add(self.box)
self.box.pack_start(self.browser, expand=True, fill=True, padding=0)
self.w = gtk.ScrolledWindow()
self.w.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
self.w.add(self.browser)
self.window.add(self.w)
self.browser.open(self.html)

Binary file not shown.