diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-08-15 10:45:47 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-08-15 10:45:47 -0400 |
commit | 8b7df135b1cd4b09f67085cfbe0682229d19fae2 (patch) | |
tree | 90679a25f0f7197c43e5363baa2325bbfa23b3aa /gtk2_ardour/session_dialog.cc | |
parent | 7aaaae8bfefeb74b2e41d40761186cde64b03c16 (diff) |
put a frame around template description, change background color
Diffstat (limited to 'gtk2_ardour/session_dialog.cc')
-rw-r--r-- | gtk2_ardour/session_dialog.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gtk2_ardour/session_dialog.cc b/gtk2_ardour/session_dialog.cc index 9fd4b7c08b..4547b012f9 100644 --- a/gtk2_ardour/session_dialog.cc +++ b/gtk2_ardour/session_dialog.cc @@ -602,15 +602,18 @@ SessionDialog::setup_new_session_page () if ( load_template_override.empty() ) { template_hbox->set_spacing (8); template_hbox->pack_start (template_chooser, true, true); - template_hbox->pack_start (template_desc, true, true); + template_hbox->pack_start (template_desc_frame, true, true); } //template_desc is the textview that displays the currently selected template's description template_desc.set_editable (false); template_desc.set_wrap_mode (Gtk::WRAP_WORD); template_desc.set_size_request(300,400); - template_desc.set_left_margin(6); - template_desc.set_right_margin(6); + template_desc.set_name (X_("TextOnBackground")); + template_desc.set_border_width (6); + + template_desc_frame.set_name (X_("HighlightFrame")); + template_desc_frame.add (template_desc); //template_chooser is the treeview showing available templates template_model = TreeStore::create (session_template_columns); |