From 8df3e242be9c6552c8eaf47f198bbd45e1b2667b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 5 Nov 2010 16:18:40 +0000 Subject: [PATCH] ellipsize file name at top of preview pane; allow a bit more room for file format text in preview pane git-svn-id: svn://localhost/ardour2/branches/3.0@7971 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/sfdb_ui.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/sfdb_ui.cc b/gtk2_ardour/sfdb_ui.cc index a9bec00123..d6bd6341cf 100644 --- a/gtk2_ardour/sfdb_ui.cc +++ b/gtk2_ardour/sfdb_ui.cc @@ -144,7 +144,10 @@ SoundFileBox::SoundFileBox (bool persistent) samplerate.set_text (_("Sample rate:")); samplerate.set_alignment (1, 0.5); - format_text.set_max_width_chars (8); + preview_label.set_max_width_chars (50); + preview_label.set_ellipsize (Pango::ELLIPSIZE_END); + + format_text.set_max_width_chars (20); format_text.set_ellipsize (Pango::ELLIPSIZE_END); format_text.set_alignment (0, 1);