diff options
Diffstat (limited to 'tools/mapedit/src/frame.cpp')
| -rw-r--r-- | tools/mapedit/src/frame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
| diff --git a/tools/mapedit/src/frame.cpp b/tools/mapedit/src/frame.cpp index 2a553b6..6fb70c8 100644 --- a/tools/mapedit/src/frame.cpp +++ b/tools/mapedit/src/frame.cpp | |||
| @@ -134,7 +134,7 @@ MapeditFrame::MapeditFrame(std::unique_ptr<World> world) : wxFrame(NULL, wxID_AN | |||
| 134 | // Layout 3: Splitter between map editor and properties editor | 134 | // Layout 3: Splitter between map editor and properties editor |
| 135 | 135 | ||
| 136 | wxSplitterWindow* layout1 = new wxSplitterWindow(this, wxID_ANY); | 136 | wxSplitterWindow* layout1 = new wxSplitterWindow(this, wxID_ANY); |
| 137 | mapTree = new wxTreeCtrl(layout1, MAP_EDITOR_TREE, wxDefaultPosition, wxSize(200, 0), wxTR_HIDE_ROOT | wxTR_HAS_BUTTONS); | 137 | mapTree = new wxTreeCtrl(layout1, MAP_EDITOR_TREE, wxDefaultPosition, wxSize(150, 0), wxTR_HIDE_ROOT | wxTR_HAS_BUTTONS); |
| 138 | wxTreeItemId mapTreeRoot = mapTree->AddRoot("root"); | 138 | wxTreeItemId mapTreeRoot = mapTree->AddRoot("root"); |
| 139 | populateMapTree(mapTreeRoot, this->world->getRootMaps()); | 139 | populateMapTree(mapTreeRoot, this->world->getRootMaps()); |
| 140 | 140 | ||
| @@ -152,7 +152,7 @@ MapeditFrame::MapeditFrame(std::unique_ptr<World> world) : wxFrame(NULL, wxID_AN | |||
| 152 | mapEditor->frame = this; | 152 | mapEditor->frame = this; |
| 153 | 153 | ||
| 154 | // Set up property editor | 154 | // Set up property editor |
| 155 | wxPanel* propertyEditor = new wxPanel(layout3, wxID_ANY); | 155 | wxPanel* propertyEditor = new wxPanel(layout3, wxID_ANY, wxDefaultPosition, wxSize(-1, 100)); |
| 156 | titleBox = new UndoableTextBox(propertyEditor, MAP_TITLE_TEXTBOX, currentMap->getTitle(), "Edit Map Title", this); | 156 | titleBox = new UndoableTextBox(propertyEditor, MAP_TITLE_TEXTBOX, currentMap->getTitle(), "Edit Map Title", this); |
| 157 | titleBox->SetMaxLength(40); | 157 | titleBox->SetMaxLength(40); |
| 158 | 158 | ||
