Updated transportViews buttons to fit in view.

Removed the "Settings" for remote library.
This commit is contained in:
Daniel Önnerby 2009-02-02 23:21:16 +00:00
parent 972b700717
commit 90d3b28165
2 changed files with 7 additions and 5 deletions

View File

@ -194,7 +194,9 @@ void SourcesModel::Load()
{
CategoryRef viewCategory(new Category(_(_T("View"))));
viewCategory->Add(BrowseItem::Create(this->library));
viewCategory->Add(SettingsItem::Create(this->library));
if(this->library->Indexer()!=NULL){
viewCategory->Add(SettingsItem::Create(this->library));
}
this->AddCategory(viewCategory);
this->playlistCategory.reset(new Category(_(_T("Playlists"))));

View File

@ -70,10 +70,10 @@ void TransportView::OnCreated()
this->stopButton = topRowLayout->AddChild(new Button(_(_T("Stop"))));
this->nextButton = topRowLayout->AddChild(new Button(_(_T("Next"))));
//
this->prevButton->Resize(50, 28);
this->playButton->Resize(50, 28);
this->stopButton->Resize(50, 28);
this->nextButton->Resize(50, 28);
this->prevButton->Resize(50, 24);
this->playButton->Resize(50, 24);
this->stopButton->Resize(50, 24);
this->nextButton->Resize(50, 24);
// now playing layout
FontRef boldFont(Font::Create());