Centre the game list panel

This commit is contained in:
raven02 2014-06-07 15:54:02 +08:00
parent 5ed77a3ca9
commit 219e048922
2 changed files with 2 additions and 2 deletions

View File

@ -182,7 +182,7 @@ LogFrame::LogFrame(wxWindow* parent)
, ThreadBase("LogThread")
, m_log(*new wxListView(this))
{
m_log.InsertColumn(0, wxEmptyString);
m_log.InsertColumn(0, "Thread");
m_log.InsertColumn(1, "Log");
m_log.SetBackgroundColour(wxColour("Black"));

View File

@ -110,7 +110,7 @@ MainFrame::MainFrame()
m_debugger_frame = new DebuggerPanel(this);
ConLogFrame = new LogFrame(this);
AddPane(m_game_viewer, "Game List", wxAUI_DOCK_BOTTOM);
AddPane(m_game_viewer, "Game List", wxAUI_DOCK_CENTRE);
AddPane(ConLogFrame, "Log", wxAUI_DOCK_BOTTOM);
AddPane(m_debugger_frame, "Debugger", wxAUI_DOCK_RIGHT);