--- deliantra/Deliantra-Client/DC/UI.pm 2006/05/30 14:35:09 1.260 +++ deliantra/Deliantra-Client/DC/UI.pm 2006/05/30 14:45:56 1.261 @@ -3223,17 +3223,7 @@ $self->add (my $vb = new CFClient::UI::VBox); - $vb->add (my $hb = new CFClient::UI::HBox); - $hb->add (new CFClient::UI::Label text => "Key: "); - $hb->add ($self->{keylbl} = new CFClient::UI::Label); - $hb->add (new CFClient::UI::Button - text => "bind", - tooltip => "This opens a query where you have to press the key combination to bind the recorded actions", - on_activate => sub { - $self->ask_for_bind; - }); - $vb->add (new CFClient::UI::Label text => "Actions:"); $vb->add ($self->{rec_btn} = new CFClient::UI::Button text => "start recording", tooltip => "Start/Stops recording of actions." @@ -3248,11 +3238,23 @@ } }); + $vb->add (new CFClient::UI::Label text => "Actions:"); $vb->add ($self->{cmdbox} = new CFClient::UI::VBox); + $vb->add (new CFClient::UI::Label text => "Bound to: "); + $vb->add (my $hb = new CFClient::UI::HBox); + $hb->add ($self->{keylbl} = new CFClient::UI::Label expand => 1); + $hb->add (new CFClient::UI::Button + text => "bind", + tooltip => "This opens a query where you have to press the key combination to bind the recorded actions", + on_activate => sub { + $self->ask_for_bind; + }); + $vb->add (my $hb = new CFClient::UI::HBox); $hb->add (new CFClient::UI::Button text => "ok", + expand => 1, tooltip => "This closes the binding editor and saves the binding", on_activate => sub { $self->hide; @@ -3261,6 +3263,7 @@ $hb->add (new CFClient::UI::Button text => "cancel", + expand => 1, tooltip => "This closes the binding editor without saving", on_activate => sub { $self->hide; @@ -3282,7 +3285,7 @@ $self->{binding_change}->($mod, $sym, $cmds) if $self->{binding_change}; } else { - $::STATUSBOX->add ("No action bound, no keys specified!"); + $::STATUSBOX->add ("No action bound, no key or action specified!"); $self->{binding_cancel}->() if $self->{binding_cancel}; }