Un-bunch the bunched-up Keybindings editor widgets.
This commit is contained in:
parent
58466b9019
commit
7b3579bd4d
@ -79,7 +79,6 @@ KeyEditor::KeyEditor ()
|
||||
, unbind_box (BUTTONBOX_END)
|
||||
, filter_entry (_("Search..."), true)
|
||||
, filter_string("")
|
||||
, print_button (_("Print"))
|
||||
, sort_column(0)
|
||||
, sort_type(Gtk::SORT_ASCENDING)
|
||||
{
|
||||
@ -94,13 +93,13 @@ KeyEditor::KeyEditor ()
|
||||
filter_entry.signal_search_string_updated ().connect (sigc::mem_fun (*this, &KeyEditor::search_string_updated));
|
||||
vpacker.pack_start (filter_entry, false, false);
|
||||
|
||||
Label* hint = manage (new Label (_("To remove a shortcut select an action then press this: ")));
|
||||
Label* hint = manage (new Label (_("To remove a shortcut, select an action then press this: ")));
|
||||
hint->show ();
|
||||
unbind_box.set_spacing (6);
|
||||
unbind_box.pack_start (*hint, false, true);
|
||||
unbind_box.pack_start (unbind_button, false, false);
|
||||
unbind_button.signal_clicked().connect (sigc::mem_fun (*this, &KeyEditor::unbind));
|
||||
|
||||
vpacker.set_spacing (4);
|
||||
vpacker.pack_start (unbind_box, false, false);
|
||||
unbind_box.show ();
|
||||
unbind_button.show ();
|
||||
@ -108,6 +107,9 @@ KeyEditor::KeyEditor ()
|
||||
reset_button.add (reset_label);
|
||||
reset_label.set_markup (string_compose (" <span size=\"large\" weight=\"bold\">%1</span> ", _("Reset Bindings to Defaults")));
|
||||
|
||||
print_button.add (print_label);
|
||||
print_label.set_markup (string_compose (" <span size=\"large\" weight=\"bold\">%1</span> ", _("Print Bindings (to your web browser)")));
|
||||
|
||||
print_button.signal_clicked().connect (sigc::mem_fun (*this, &KeyEditor::print));
|
||||
|
||||
reset_box.pack_start (reset_button, true, false);
|
||||
@ -117,6 +119,7 @@ KeyEditor::KeyEditor ()
|
||||
reset_label.show ();
|
||||
print_button.show ();
|
||||
reset_button.signal_clicked().connect (sigc::mem_fun (*this, &KeyEditor::reset));
|
||||
vpacker.pack_start (*(manage (new HSeparator())), true, true, 5);
|
||||
vpacker.pack_start (reset_box, false, false);
|
||||
|
||||
add (vpacker);
|
||||
|
@ -112,6 +112,7 @@ class KeyEditor : public ArdourWindow
|
||||
Gtkmm2ext::SearchBar filter_entry;
|
||||
std::string filter_string;
|
||||
Gtk::Button print_button;
|
||||
Gtk::Label print_label;
|
||||
|
||||
typedef std::vector<Tab*> Tabs;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user