diff options
Diffstat (limited to 'src/game/SignTool.cpp')
| -rw-r--r-- | src/game/SignTool.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/SignTool.cpp b/src/game/SignTool.cpp index 7f28b5e..b382019 100644 --- a/src/game/SignTool.cpp +++ b/src/game/SignTool.cpp @@ -48,7 +48,7 @@ SignWindow::SignWindow(SignTool * tool_, Simulation * sim_, int signID_, ui::Poi sim(sim_), signPosition(position_) { - ui::Label * messageLabel = new ui::Label(ui::Point(4, 18), ui::Point(Size.X-8, 60), "New sign"); + ui::Label * messageLabel = new ui::Label(ui::Point(4, 2), ui::Point(Size.X-8, 14), "New sign"); messageLabel->SetAlignment(AlignLeft, AlignTop); AddComponent(messageLabel); @@ -58,14 +58,14 @@ SignWindow::SignWindow(SignTool * tool_, Simulation * sim_, int signID_, ui::Poi okayButton->SetActionCallback(new OkayAction(this)); AddComponent(okayButton); - justification = new ui::DropDown(ui::Point(4, 18), ui::Point(50, 16)); + justification = new ui::DropDown(ui::Point(8, 38), ui::Point(50, 16)); AddComponent(justification); justification->AddOption(std::pair<std::string, int>("Left", (int)sign::Left)); justification->AddOption(std::pair<std::string, int>("Centre", (int)sign::Centre)); justification->AddOption(std::pair<std::string, int>("Right", (int)sign::Right)); justification->SetOption(0); - textField = new ui::Textbox(ui::Point(4, 32), ui::Point(Size.X-8, 16), ""); + textField = new ui::Textbox(ui::Point(8, 17), ui::Point(Size.X-16, 16), ""); textField->SetAlignment(AlignLeft, AlignBottom); AddComponent(textField); |
