diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-07-12 19:45:10 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-12 19:54:10 +0200 |
commit | 33466aba65ec8b1970077d9c7f7e8e928e07170c (patch) | |
tree | 7fe6433614975e2b4f0c5bc16330e785db4049e3 /Demos | |
parent | ae6615d5a0efc09c51f9614beba09905b5546574 (diff) | |
download | serenity-33466aba65ec8b1970077d9c7f7e8e928e07170c.zip |
HelloWorld: Make the demo label say "Hello\nWorld!".
This is really just to show off multi-line GLabels :^)
Diffstat (limited to 'Demos')
-rw-r--r-- | Demos/HelloWorld/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/HelloWorld/main.cpp b/Demos/HelloWorld/main.cpp index 3598868b8f..ccf87f6ef4 100644 --- a/Demos/HelloWorld/main.cpp +++ b/Demos/HelloWorld/main.cpp @@ -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"); |