Placeholder text for sign tool window, #98

This commit is contained in:
Simon Robertshaw 2012-08-14 13:09:13 +01:00
parent 49ae651dd3
commit fed38185fd

View File

@ -131,7 +131,7 @@ SignWindow::SignWindow(SignTool * tool_, Simulation * sim_, int signID_, ui::Poi
justification->SetOption(1); justification->SetOption(1);
justification->Appearance.HorizontalAlign = ui::Appearance::AlignLeft; justification->Appearance.HorizontalAlign = ui::Appearance::AlignLeft;
textField = new ui::Textbox(ui::Point(8, 25), ui::Point(Size.X-16, 17), ""); textField = new ui::Textbox(ui::Point(8, 25), ui::Point(Size.X-16, 17), "[message]");
textField->Appearance.HorizontalAlign = ui::Appearance::AlignLeft; textField->Appearance.HorizontalAlign = ui::Appearance::AlignLeft;
textField->Appearance.VerticalAlign = ui::Appearance::AlignMiddle; textField->Appearance.VerticalAlign = ui::Appearance::AlignMiddle;
textField->SetActionCallback(new SignTextAction(this)); textField->SetActionCallback(new SignTextAction(this));