diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-05 16:18:40 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-05 16:18:40 +0000 |
commit | 8df3e242be9c6552c8eaf47f198bbd45e1b2667b (patch) | |
tree | bfdb6f66517ed8d6ada402ab94ea7067e6ef6ebd /gtk2_ardour/sfdb_ui.cc | |
parent | f9906762a259dade14d63b208d0878325390348f (diff) |
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
Diffstat (limited to 'gtk2_ardour/sfdb_ui.cc')
-rw-r--r-- | gtk2_ardour/sfdb_ui.cc | 5 |
1 files changed, 4 insertions, 1 deletions
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); |