summaryrefslogtreecommitdiff
path: root/gtk2_ardour/keyeditor.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-07-25 00:32:59 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-07-25 00:32:59 +0000
commita26827d3b7348ee209347527f6f2a4a819aaed2e (patch)
tree2667dd938c5645dd9e092fa26e85b673d751f3a6 /gtk2_ardour/keyeditor.cc
parent4904b33f4557e46660df8ff72f757c342684e706 (diff)
fix a SNAFU that occured when switch from ArdourDialog to ArdourWindow that removed the "Rmove shortcut" button from the keyeditor
git-svn-id: svn://localhost/ardour2/branches/3.0@13079 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/keyeditor.cc')
-rw-r--r--gtk2_ardour/keyeditor.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk2_ardour/keyeditor.cc b/gtk2_ardour/keyeditor.cc
index 72207ea27f..07042a1cdf 100644
--- a/gtk2_ardour/keyeditor.cc
+++ b/gtk2_ardour/keyeditor.cc
@@ -76,7 +76,10 @@ KeyEditor::KeyEditor ()
scroller.add (view);
scroller.set_policy (Gtk::POLICY_NEVER, Gtk::POLICY_AUTOMATIC);
- add (scroller);
+ add (vpacker);
+
+ vpacker.set_spacing (6);
+ vpacker.pack_start (scroller);
if (!ARDOUR::Profile->get_sae()) {
@@ -87,14 +90,17 @@ KeyEditor::KeyEditor ()
unbind_box.pack_start (unbind_button, false, false);
unbind_button.signal_clicked().connect (sigc::mem_fun (*this, &KeyEditor::unbind));
- add (unbind_box);
+ vpacker.pack_start (unbind_box, false, false);
unbind_box.show ();
unbind_button.show ();
}
+ vpacker.set_border_width (12);
+
view.show ();
scroller.show ();
+ vpacker.show ();
unbind_button.set_sensitive (false);
}