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
This commit is contained in:
Paul Davis 2010-11-05 16:18:40 +00:00
parent f9906762a2
commit 8df3e242be
1 changed files with 4 additions and 1 deletions

View File

@ -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);