mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
show() widgets explicitly in gtk2_ardour/add_midi_cc_track_dialog.cc
git-svn-id: svn://localhost/ardour2/trunk@2120 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e0b7de13b7
commit
b1541d329e
1 changed files with 6 additions and 3 deletions
|
|
@ -49,16 +49,19 @@ AddMidiCCTrackDialog::AddMidiCCTrackDialog ()
|
||||||
_cc_num_spinner.set_name ("AddMidiCCTrackDialogSpinner");
|
_cc_num_spinner.set_name ("AddMidiCCTrackDialogSpinner");
|
||||||
|
|
||||||
HBox *hbox = manage (new HBox());
|
HBox *hbox = manage (new HBox());
|
||||||
|
Label *label = manage(new Label("Controller Number: "));
|
||||||
|
|
||||||
hbox->pack_start(*manage(new Label("Controller Number: ")), true, true, 4);
|
hbox->pack_start(*label, true, true, 4);
|
||||||
hbox->pack_start(_cc_num_spinner, false, false, 4);
|
hbox->pack_start(_cc_num_spinner, false, false, 4);
|
||||||
|
|
||||||
get_vbox()->pack_start(*hbox, true, true, 4);
|
get_vbox()->pack_start(*hbox, true, true, 4);
|
||||||
|
|
||||||
show_all();
|
|
||||||
|
|
||||||
add_button (Stock::CANCEL, RESPONSE_CANCEL);
|
add_button (Stock::CANCEL, RESPONSE_CANCEL);
|
||||||
add_button (Stock::ADD, RESPONSE_ACCEPT);
|
add_button (Stock::ADD, RESPONSE_ACCEPT);
|
||||||
|
|
||||||
|
_cc_num_spinner.show();
|
||||||
|
hbox->show();
|
||||||
|
label->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue