From 33466aba65ec8b1970077d9c7f7e8e928e07170c Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 12 Jul 2019 19:45:10 +0200 Subject: [PATCH] HelloWorld: Make the demo label say "Hello\nWorld!". This is really just to show off multi-line GLabels :^) --- Demos/HelloWorld/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");