Commit d98ec7e7 authored by Roman Alifanov's avatar Roman Alifanov

fix: ScrolledWindow

parent 795c7e32
......@@ -333,8 +333,7 @@ func (w *Window) showError(title, message string) {
textView.Buffer().SetText(truncated)
scrolled := gtk.NewScrolledWindow()
scrolled.SetHScrollbarPolicy(gtk.PolicyNever)
scrolled.SetVScrollbarPolicy(gtk.PolicyAutomatic)
scrolled.SetPolicy(gtk.PolicyNever, gtk.PolicyAutomatic)
scrolled.SetMinContentHeight(200)
scrolled.SetChild(textView)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment