Actually stretch the volume/zoom link button

This commit is contained in:
Thomas Goyne 2013-01-09 20:03:22 -08:00
parent e9a5494910
commit 76d93f0036

View file

@ -106,6 +106,7 @@ AudioBox::AudioBox(wxWindow *parent, agi::Context *context)
VertVolArea->Add(VertVol,1,wxEXPAND,0); VertVolArea->Add(VertVol,1,wxEXPAND,0);
ToggleBitmap *link_btn = new ToggleBitmap(panel, context, "audio/opt/vertical_link", 16, "Audio", wxSize(20, -1)); ToggleBitmap *link_btn = new ToggleBitmap(panel, context, "audio/opt/vertical_link", 16, "Audio", wxSize(20, -1));
link_btn->SetMaxSize(wxDefaultSize);
VertVolArea->Add(link_btn, 0, wxRIGHT | wxALIGN_CENTER | wxEXPAND, 0); VertVolArea->Add(link_btn, 0, wxRIGHT | wxALIGN_CENTER | wxEXPAND, 0);
OPT_SUB("Audio/Link", &AudioBox::OnVerticalLink, this); OPT_SUB("Audio/Link", &AudioBox::OnVerticalLink, this);