renderTo
This commit is contained in:
1 parent
1caa69e2e4
commit
3286b15441
3 files changed
+6
-6
No files matched your search
+1
-1
@@ -17,7 +17,7 @@ class MyApplication(cp.ExtApplication):
|
||||
'items': [{'xtype': 'button', 'text': 'Click Here', 'handler': button_click}],
|
||||
'buttons': [
|
||||
{'text': 'OK', 'handler': js.FuncWithParams(ok_click, {'arg1': 1, 'arg2': 'val2'})},
|
||||
{'text': 'Close', 'handler': js.function('this.up(\'window\').close()')}]})
|
||||
{'text': 'Close', 'handler': str(js.function('this.up(\'window\').close()'))}]})
|
||||
wnd.show()
|
||||
wnd.setHeight(200)
|
||||
|
||||
|
||||
Reference in new issue
Block a user