mirror of https://github.com/PCSX2/pcsx2.git
Changing some default layout spacings for the memcard manager.
Prolly still not final :p git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4434 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
c75334bc11
commit
8bc8c768f4
|
@ -510,7 +510,14 @@ Panels::MemoryCardListPanel_Simple::MemoryCardListPanel_Simple( wxWindow* parent
|
||||||
m_MultitapEnabled[1] = false;
|
m_MultitapEnabled[1] = false;
|
||||||
|
|
||||||
m_listview = new MemoryCardListView_Simple(this);
|
m_listview = new MemoryCardListView_Simple(this);
|
||||||
m_listview->SetMinSize(wxSize(m_listview->GetMinWidth(), m_listview->GetCharHeight() * 13));
|
|
||||||
|
// Fixme: Small problem:
|
||||||
|
// m_listview->GetMinWidth() can return -1 (On Win7 x64 + Aero for example)
|
||||||
|
if ( m_listview->GetMinWidth() <= 0 )
|
||||||
|
m_listview->SetMinSize(wxSize(740, m_listview->GetCharHeight() * 14)); // 740 is nice for default font sizes
|
||||||
|
else
|
||||||
|
m_listview->SetMinSize(wxSize(m_listview->GetMinWidth(), m_listview->GetCharHeight() * 14));
|
||||||
|
|
||||||
m_listview->SetDropTarget( new McdDropTarget(m_listview) );
|
m_listview->SetDropTarget( new McdDropTarget(m_listview) );
|
||||||
|
|
||||||
m_button_Create = new wxButton(this, wxID_ANY, _("Create card file"));
|
m_button_Create = new wxButton(this, wxID_ANY, _("Create card file"));
|
||||||
|
|
|
@ -102,13 +102,13 @@ const ListViewColumnInfo& MemoryCardListView_Simple::GetDefaultColumnInfo( uint
|
||||||
{
|
{
|
||||||
static const ListViewColumnInfo columns[] =
|
static const ListViewColumnInfo columns[] =
|
||||||
{
|
{
|
||||||
{ _("PS2 Port") , 140 , wxLIST_FORMAT_LEFT },
|
{ _("PS2 Port") , 160 , wxLIST_FORMAT_LEFT },
|
||||||
{ _("Port status") , 96 , wxLIST_FORMAT_LEFT },
|
{ _("Port status") , 80 , wxLIST_FORMAT_LEFT },
|
||||||
{ _("File name") , 256 , wxLIST_FORMAT_LEFT },
|
{ _("File name") , 128 , wxLIST_FORMAT_LEFT },
|
||||||
{ _("File size") , 72 , wxLIST_FORMAT_LEFT },
|
{ _("File size") , 80 , wxLIST_FORMAT_LEFT },
|
||||||
{ _("Formatted") , 96 , wxLIST_FORMAT_LEFT },
|
{ _("Formatted") , 80 , wxLIST_FORMAT_LEFT },
|
||||||
{ _("Last Modified"), 120 , wxLIST_FORMAT_LEFT },
|
{ _("Last Modified"), 96 , wxLIST_FORMAT_LEFT },
|
||||||
{ _("Created on") , 120 , wxLIST_FORMAT_LEFT },
|
{ _("Created on") , 96 , wxLIST_FORMAT_LEFT },
|
||||||
};
|
};
|
||||||
|
|
||||||
pxAssumeDev( idx < ArraySize(columns), "ListView column index is out of bounds." );
|
pxAssumeDev( idx < ArraySize(columns), "ListView column index is out of bounds." );
|
||||||
|
|
Loading…
Reference in New Issue