prevent window resizing by including the textview in a scrolled window
This commit is contained in:
parent
650a9b6074
commit
d929c4d2dd
|
@ -841,7 +841,9 @@ class ElectrumWindow:
|
|||
tv.set_editable(False)
|
||||
tv.set_cursor_visible(False)
|
||||
tv.modify_font(pango.FontDescription(MONOSPACE_FONT))
|
||||
page.pack_start(tv)
|
||||
scroll = gtk.ScrolledWindow()
|
||||
scroll.add(tv)
|
||||
page.pack_start(scroll)
|
||||
self.info = tv.get_buffer()
|
||||
self.add_tab(page, 'Wall')
|
||||
|
||||
|
|
Loading…
Reference in New Issue