demos/03_application.py
changeset 114 26c02bd94bd9
parent 111 b055add74b18
child 117 8680c2333546
--- a/demos/03_application.py	Wed Sep 03 21:56:20 2014 +0200
+++ b/demos/03_application.py	Sun Feb 15 12:48:23 2015 +0100
@@ -8,15 +8,15 @@
 from tuikit.widgets.textfield import TextField
 
 label = Label('Hello there!')
-label.pos.update(20, 10)
+label.posreq.update(20, 10)
 
 button1 = Button()
-button1.pos.update(20, 20)
+button1.posreq.update(20, 20)
 button2 = Button()
-button2.pos.update(30, 20)
+button2.posreq.update(30, 20)
 
 field = TextField('text field')
-field.pos.update(20, 30)
+field.posreq.update(20, 30)
 
 app = Application()
 app.root_window.add(label)