Non-monospace font for Release Notes.

This commit is contained in:
Morgan Hardwood
2016-11-19 18:58:41 +01:00
parent 7de227c0ea
commit 0ebac85970
2 changed files with 23 additions and 8 deletions

View File

@@ -239,9 +239,7 @@ Splash::Splash (Gtk::Window& parent) : Gtk::Dialog(M("GENERAL_ABOUT"), parent, t
releaseNotesSW = Gtk::manage (new Gtk::ScrolledWindow());
Gtk::TextView *releaseNotesTV = Gtk::manage (new Gtk::TextView (textBuffer));
releaseNotesTV->get_style_context()->add_provider(localCSS, GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
// set monospace font to enhance readability of formatted text
releaseNotesTV->set_left_margin (10);
releaseNotesTV->set_right_margin (3);
releaseNotesTV->set_editable(false);