Commits

Ikey Doherty  committed 1fe9b83

Add textview to SummaryPage

  • Participants
  • Parent commits 603f355

Comments (0)

Files changed (1)

File src/pages/summary/summary.vala

    private string short_title;
    private bool already_init = false;
 
+   private Gtk.TextView textview;
+
    static construct {
 
 	message ("SummaryPage init");
 	inst_label.set_alignment (0, 0);
 	inst_label.use_markup = true;
 	display.pack_start (inst_label, false, false, 20);
+
+	textview = new Gtk.TextView ();
+	textview.editable = false;
+	var scrolls = new Gtk.ScrolledWindow (null,null);
+	scrolls.vscrollbar_policy = PolicyType.AUTOMATIC;
+	scrolls.hscrollbar_policy = PolicyType.NEVER;
+	scrolls.add(textview);
+	display.pack_start (scrolls, true, true, 10);
    }
 
    public override string get_title () { return title; }