mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 18:55:07 +00:00
HelloWorld: Make the demo label say "Hello\nWorld!".
This is really just to show off multi-line GLabels :^)
This commit is contained in:
parent
ae6615d5a0
commit
33466aba65
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ int main(int argc, char** argv)
|
|||
main_widget->layout()->set_margins({ 4, 4, 4, 4 });
|
||||
|
||||
auto* label = new GLabel(main_widget);
|
||||
label->set_text("Hello World!");
|
||||
label->set_text("Hello\nWorld!");
|
||||
|
||||
auto* button = new GButton(main_widget);
|
||||
button->set_text("Good-bye");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue