vtl: minor UI dialog tweaks

This commit is contained in:
Robin Gareus 2013-03-30 16:50:22 +01:00
parent d8f0cc8fcb
commit deaceb4727
2 changed files with 4 additions and 5 deletions

View file

@ -188,10 +188,10 @@ AddVideoDialog::AddVideoDialog (Session* s)
Gtk::Alignment *al = manage(new Gtk::Alignment());
al->set_size_request(-1, 20);
previewpane->pack_start (*al, false, false);
previewpane->pack_start (*hbox, true, true, 6);
previewpane->pack_start (*preview_image, false, false);
previewpane->pack_start (seek_slider, false, false);
previewpane->pack_start (*al, false, false);
previewpane->pack_start (*hbox, true, true, 6);
/* Overall layout */
hbox = manage (new HBox);

View file

@ -106,11 +106,10 @@ TranscodeVideoDialog::TranscodeVideoDialog (Session* s, std::string infile)
std::string dstfn = video_dest_file(dstdir, infile);
path_entry.set_text (dstfn);
l = manage (new Label (_("<b>Info</b>"), Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));
l = manage (new Label (_("<b>File Information</b>"), Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));
l->set_use_markup ();
options_box->pack_start (*l, false, true, 4);
bool ffok = false;
if (!transcoder->ffexec_ok()) {
l = manage (new Label (_("No ffprobe or ffmpeg executables could be found on this system. Video Import is not possible until you install those tools. See the Log widow for more information."), Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));
@ -176,7 +175,7 @@ TranscodeVideoDialog::TranscodeVideoDialog (Session* s, std::string infile)
t->attach (*l, 1, 2, 1, 2);
}
l = manage (new Label (_("<b>Video</b>"), Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));
l = manage (new Label (_("<b>Import Settings</b>"), Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));
l->set_use_markup ();
options_box->pack_start (*l, false, true, 4);