summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authortrustable-code <krauter.simon@arcor.de>2019-06-19 11:37:27 +0200
committertrustable-code <krauter.simon@arcor.de>2019-06-19 11:37:27 +0200
commit3b08f3ce392e1f681fbbfa6fae751ed750d83f6a (patch)
tree4cf4196c3f91eba96d71c16112876a6c89d82183 /examples
parent9ed05e7cb2da960c732aa14149a4e2e5bcbed675 (diff)
parent4570fc07d2bd1d07adb25898ba9db3d8b3925f18 (diff)
downloadNiGui-3b08f3ce392e1f681fbbfa6fae751ed750d83f6a.tar.gz
NiGui-3b08f3ce392e1f681fbbfa6fae751ed750d83f6a.zip
Merge branch 'master' of https://github.com/trustable-code/NiGui
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/example_02_controls.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example_02_controls.nim b/examples/example_02_controls.nim
index bb544f1..59cba00 100755
--- a/examples/example_02_controls.nim
+++ b/examples/example_02_controls.nim
@@ -22,7 +22,7 @@ var textBox = newTextBox("TextBox")
container.add(textBox)
# Add a TextArea control:
-var textArea = newTextArea("TextArea\nLine 2\n")
+var textArea = newTextArea("TextArea\pLine 2\p")
container.add(textArea)
# Add more text to the TextArea: