We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 535b70b + 01cb8ed commit 6afc4e1Copy full SHA for 6afc4e1
samples/HelloDelphiFMX.py
@@ -14,7 +14,7 @@ class HelloForm(Form):
14
15
def __init__(self, owner):
16
self.SetProps(Caption = "Hello Python",
17
- Position = "poScreenCenter", OnShow = self.__form_show)
+ Position = "ScreenCenter", OnShow = self.__form_show)
18
19
self.hello = Label(self)
20
self.hello.SetProps(Parent = self, width = 200,
@@ -29,7 +29,6 @@ def __form_show(self, sender):
29
30
def __button_click(self, sender):
31
self.hello.Text = "Thanks!"
32
- self.Width = 300
33
34
def main():
35
Application.Initialize()
0 commit comments