this,
ID_TREE_PROJECTS,
wxDefaultPosition,
- wxSize(300,400),
+ wxSize(200,400),
wxTR_HAS_BUTTONS | wxTR_AQUA_BUTTONS
);
- tree_Projects->SetMinSize(wxSize(200,200));
panel_Properties = new wxCDMMainDescriptionPanel(
this,
ID_WINDOW_PROPERTIES,
wxT("Description Panel"),
wxDefaultPosition,
- wxSize(300, 400),
+ wxSize(400, 600),
0
);
- auiManager.AddPane(tree_Projects, wxLEFT, wxT("Projects Tree"));
- auiManager.AddPane(panel_Properties, wxCENTER, wxT("Properties"));
+
+
+ auiManager.AddPane(panel_Properties, wxAuiPaneInfo().BestSize(600,400).CenterPane().Name(wxT("panel_Properties")).Caption(wxT("Properties")));
+ auiManager.AddPane(tree_Projects, wxAuiPaneInfo().Left().MinSize(300,300).BestSize(300,400).CloseButton(false).Name(wxT("tree_Projects")).Caption(wxT("Projects Tree")));
+
+ wxString pers = auiManager.SavePerspective();
auiManager.Update();
- auiManager.GetPane(tree_Projects).CloseButton(false).MaximizeButton(true);
+ auiManager.LoadPerspective(pers,true);
}
//Event Handlers
ID_WINDOW_PROPERTIES,
wxT("Description Panel"),
wxDefaultPosition,
- wxSize(300, 400),
+ wxSize(600, 400),
0);
//show projectactions panel
if(this->panel_ProjectActions != NULL)
ID_WINDOW_PROJ_ACTIONS,
wxT("Project Actions Panel"),
wxDefaultPosition,
- wxSize(600,200),
+ wxSize(800,200),
0
);
panel_ProjectActions->SetMinSize(wxSize(500, 100));
- auiManager.AddPane(panel_Properties, wxCENTER, wxT("Properties"));
- auiManager.AddPane(panel_ProjectActions, wxBOTTOM, wxT("Project Actions"));
+ auiManager.AddPane(panel_Properties, wxAuiPaneInfo().Center().Name(wxT("panel_Properties")).Caption(wxT("Properties")).BestSize(600,400));
+ auiManager.AddPane(panel_ProjectActions, wxAuiPaneInfo().Bottom().MinSize(800,50).Name(wxT("panel_ProjectActions")).Caption(wxT("Project Actions")).BestSize(800,70).CloseButton(false));
auiManager.Update();
ID_WINDOW_PROPERTIES,
wxT("Description Panel"),
wxDefaultPosition,
- wxSize(300, 400),
+ wxSize(600, 400),
0
);
ID_WINDOW_PROJ_ACTIONS,
wxT("Project Actions Panel"),
wxDefaultPosition,
- wxSize(600,200),
+ wxSize(800,200),
0
);
panel_ProjectActions->SetMinSize(wxSize(500, 100));
- auiManager.AddPane(panel_Properties, wxCENTER, wxT("Properties"));
- auiManager.AddPane(panel_ProjectActions, wxBOTTOM, wxT("Project Actions"));
+ auiManager.AddPane(panel_Properties, wxAuiPaneInfo().Center().Name(wxT("panel_Properties")).Caption(wxT("Properties")).BestSize(600,400));
+ auiManager.AddPane(panel_ProjectActions, wxAuiPaneInfo().Bottom().MinSize(800,50).Name(wxT("panel_ProjectActions")).Caption(wxT("Project Actions")).BestSize(800,70).CloseButton(false));
auiManager.Update();
}
ID_WINDOW_PROPERTIES,
wxT("Description Panel"),
wxDefaultPosition,
- wxSize(300, 400),
+ wxSize(600, 400),
0
);
- auiManager.AddPane(panel_Properties, wxCENTER, wxT("Properties"));
+ auiManager.AddPane(panel_Properties, wxAuiPaneInfo().Center().Name(wxT("panel_Properties")).Caption(wxT("Properties")).BestSize(600,400));
auiManager.Update();
event.Skip();
ID_WINDOW_PROPERTIES,
wxT("Description Panel"),
wxDefaultPosition,
- wxSize(300, 400),
+ wxSize(600, 400),
0
);
- auiManager.AddPane(panel_Properties, wxCENTER, wxT("Properties"));
+ auiManager.AddPane(panel_Properties, wxAuiPaneInfo().Center().Name(wxT("panel_Properties")).Caption(wxT("Properties")).BestSize(600,400));
auiManager.Update();
event.Skip();
ID_WINDOW_PROPERTIES,
wxT("Description Panel"),
wxDefaultPosition,
- wxSize(300, 400),
+ wxSize(600, 400),
0
);
Close();
ID_WINDOW_PROPERTIES,
wxT("Description Panel"),
wxDefaultPosition,
- wxSize(300, 400),
+ wxSize(600, 400),
0
);
ID_WINDOW_PROPERTIES,
wxT("Description Panel"),
wxDefaultPosition,
- wxSize(300, 400),
+ wxSize(600, 400),
0
);
}
ID_WINDOW_PROPERTIES,
wxT("Description Panel"),
wxDefaultPosition,
- wxSize(300, 400),
+ wxSize(600, 400),
0
);
}
ID_WINDOW_PROPERTIES,
wxT("Description Panel"),
wxDefaultPosition,
- wxSize(300, 400),
+ wxSize(600, 400),
0
);
}
ID_WINDOW_PROPERTIES,
wxT("Description Panel"),
wxDefaultPosition,
- wxSize(300, 400),
+ wxSize(600, 400),
0
);
}
ID_WINDOW_PROPERTIES,
wxT("Description Panel"),
wxDefaultPosition,
- wxSize(300, 400),
+ wxSize(600, 400),
0
);
}
ID_WINDOW_PROPERTIES,
wxT("Description Panel"),
wxDefaultPosition,
- wxSize(300, 400),
+ wxSize(600, 400),
0
);
}
ID_WINDOW_PROPERTIES,
wxT("Description Panel"),
wxDefaultPosition,
- wxSize(300, 400),
+ wxSize(600, 400),
0
);
}
ID_WINDOW_PROPERTIES,
wxT("Description Panel"),
wxDefaultPosition,
- wxSize(300, 400),
+ wxSize(600, 400),
0
);
}
ID_WINDOW_PROPERTIES,
wxT("Description Panel"),
wxDefaultPosition,
- wxSize(300, 400),
+ wxSize(600, 400),
0
);
}
ID_WINDOW_PROPERTIES,
wxT("Description Panel"),
wxDefaultPosition,
- wxSize(300, 400),
+ wxSize(600, 400),
0
);
}
//set new view
this->panel_Properties = description;
- auiManager.AddPane(panel_Properties, wxCENTER, wxT("Properties"));
+ auiManager.AddPane(panel_Properties, wxAuiPaneInfo().Center().Name(wxT("panel_Properties")).Caption(wxT("Properties")).BestSize(600,400));
auiManager.Update();
this->panel_Properties->Show(true);
event.Skip();