- attach_label(misc_table,_("Preferred Canvas Y size"),6, xpadding, ypadding);
- misc_table->attach(*pref_y_size_spinbutton, 1, 2, 6, 7,Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding);
+ attach_label(document_table,_("New Document Y size"),2, xpadding, ypadding);
+ document_table->attach(*pref_y_size_spinbutton, 1, 2, 2, 3,Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding);
+ tooltips_.set_tip(*pref_y_size_spinbutton,_("High in pixels of the new created document"));
+
+ //Document - Template for predefined sizes of canvases.
+ size_template_combo=Gtk::manage(new Gtk::ComboBoxText());
+ Gtk::Label* label(manage(new Gtk::Label(_("Predefined Resolutions:"))));
+ label->set_alignment(Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER);
+ document_table->attach(*label, 2, 3, 1, 2, Gtk::SHRINK|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding);
+ document_table->attach(*size_template_combo,2, 3, 2, 3, Gtk::EXPAND|Gtk::FILL, Gtk::SHRINK|Gtk::FILL, xpadding, ypadding);
+ size_template_combo->signal_changed().connect(sigc::mem_fun(*this,&studio::Dialog_Setup::on_size_template_combo_change));
+ size_template_combo->prepend_text(_("4096x3112 Full Aperture 4K"));
+ size_template_combo->prepend_text(_("2048x1556 Full Aperture Native 2K"));
+ size_template_combo->prepend_text(_("1920x1080 HDTV 1080p/i"));
+ size_template_combo->prepend_text(_("1280x720 HDTV 720p"));
+ size_template_combo->prepend_text(_("720x576 DVD PAL"));
+ size_template_combo->prepend_text(_("720x480 DVD NTSC"));
+ size_template_combo->prepend_text(_("720x540 Web 720x"));
+ size_template_combo->prepend_text(_("720x405 Web 720x HD"));
+ size_template_combo->prepend_text(_("640x480 Web 640x"));
+ size_template_combo->prepend_text(_("640x360 Web 640x HD"));
+ size_template_combo->prepend_text(_("480x360 Web 480x"));
+ size_template_combo->prepend_text(_("480x270 Web 480x HD"));
+ size_template_combo->prepend_text(_("360x270 Web 360x"));
+ size_template_combo->prepend_text(_("360x203 Web 360x HD"));
+ size_template_combo->prepend_text(DEFAULT_PREDEFINED_SIZE);