summaryrefslogtreecommitdiff
path: root/demos/controls
diff options
context:
space:
mode:
Diffstat (limited to 'demos/controls')
-rw-r--r--demos/controls/protected/pages/LoginPage.tpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/demos/controls/protected/pages/LoginPage.tpl b/demos/controls/protected/pages/LoginPage.tpl
index 5f2c9b2b..04edae1c 100644
--- a/demos/controls/protected/pages/LoginPage.tpl
+++ b/demos/controls/protected/pages/LoginPage.tpl
@@ -1,7 +1,9 @@
<com:TForm>
-<com:TPanel GroupingText="Login" Width="300px">
-Username: <com:TTextBox ID="username" /><br/>
-Password: <com:TTextBox ID="password" TextMode="Password" /><br/>
+<com:TPanel GroupingText="Login" Width="270px" HorizontalAlign="center">
+<com:TLabel Text="Username" AssociatedControlID="username"/>
+<com:TTextBox ID="username" /><br/>
+<com:TLabel Text="Password" AssociatedControlID="password"/>
+<com:TTextBox ID="password" TextMode="Password" /><br/>
<com:TButton Text="Login" Click="login" />
<com:TLabel ID="error" />
</com:TPanel>