mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-16 16:42:33 -05:00
rbutil: put the Theme description in a scrolling Control, also updated a few descriptions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13507 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
993dbe628e
commit
1bae792e5c
3 changed files with 7 additions and 9 deletions
|
|
@ -123,7 +123,7 @@ void ThemeCtrl::CreateControls()
|
|||
wxStaticText* desc_desc= new wxStaticText(this,wxID_ANY,wxT("Description:"));
|
||||
styleSizer->Add(desc_desc,0,wxGROW | wxALL,5);
|
||||
|
||||
m_themedesc= new wxStaticText(this,ID_DESC,wxT(""));
|
||||
m_themedesc= new wxTextCtrl(this,ID_DESC,wxT(""),wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY);
|
||||
styleSizer->Add(m_themedesc,0,wxGROW | wxALL,5);
|
||||
|
||||
topSizer->Fit(this);
|
||||
|
|
@ -156,7 +156,7 @@ void ThemeCtrl::setDevice(wxString device)
|
|||
// load the themelist
|
||||
Init();
|
||||
m_size->SetLabel(wxT(""));
|
||||
m_themedesc->SetLabel(wxT(""));
|
||||
m_themedesc->SetValue(wxT(""));
|
||||
m_themeList->Clear();
|
||||
|
||||
//get correct Themes list
|
||||
|
|
@ -231,8 +231,8 @@ void ThemeCtrl::OnThemesLst(wxCommandEvent& event)
|
|||
int index = selected[0];
|
||||
|
||||
m_size->SetLabel(m_Themes_size[index]);
|
||||
m_themedesc->SetLabel(m_Themes_desc[index]);
|
||||
m_themedesc->Wrap(200); // wrap desc
|
||||
m_themedesc->SetValue(m_Themes_desc[index]);
|
||||
// m_themedesc->Wrap(200); // wrap desc
|
||||
|
||||
wxString src,dest;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue