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
Notes:
sideshowbarker
2024-07-19 13:18:47 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/33466aba65e
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
Reference in a new issue