tweak the margins a bit
This commit is contained in:
parent
2cb1160945
commit
d2791f0d5d
|
@ -52,8 +52,8 @@ TorrentFilter :: GetName( int show, int count )
|
|||
case DOWNLOADING: xstr = _("&Uploading"); break;
|
||||
case IDLE: xstr = _("&Idle"); break;
|
||||
case STOPPED: xstr = _("&Stopped"); break;
|
||||
case COMPLETE: xstr = _("&Complete"); break;
|
||||
case INCOMPLETE: xstr = _("I&ncomplete"); break;
|
||||
case COMPLETE: xstr = _("&Done"); break;
|
||||
case INCOMPLETE: xstr = _("&Not Done"); break;
|
||||
default: assert(0);
|
||||
}
|
||||
|
||||
|
|
|
@ -569,15 +569,15 @@ MyFrame :: MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size
|
|||
wxToggleButton * tb = new wxToggleButton( panel_1, ID_Filter+i, TorrentFilter::GetName(i) );
|
||||
tb->SetValue( true );
|
||||
myFilterToggles[i] = tb;
|
||||
buttonSizer->Add( tb, 0, wxTOP|wxRIGHT, 6 );
|
||||
buttonSizer->Add( tb, 0, wxRIGHT, 3 );
|
||||
}
|
||||
|
||||
myTorrentList = new TorrentListCtrl( handle, myConfig, panel_1 );
|
||||
myTorrentList->AddListener( this );
|
||||
|
||||
wxBoxSizer * panelSizer = new wxBoxSizer( wxVERTICAL );
|
||||
panelSizer->Add( buttonSizer, 0, wxTOP|wxLEFT|wxRIGHT, 3 );
|
||||
panelSizer->Add( myTorrentList, 1, wxEXPAND|wxALL, 3 );
|
||||
panelSizer->Add( buttonSizer, 0, wxTOP|wxLEFT|wxRIGHT, 4 );
|
||||
panelSizer->Add( myTorrentList, 1, wxEXPAND|wxALL, 4 );
|
||||
|
||||
panel_1->SetSizer( panelSizer );
|
||||
|
||||
|
|
Loading…
Reference in New Issue