@@ -15,47 +15,50 @@ public override void Build()
15
15
)
16
16
. Content (
17
17
new Grid ( )
18
- . RowDefinitions ( e => e . Star ( 2.5 ) . Star ( 4 ) . Star ( 2 ) . Star ( 1.5 ) )
19
- . RowSpacing ( 15 )
20
- . Margin ( 20 , 15 )
18
+ . RowDefinitions ( e => e . Star ( 1.2 ) . Star ( 7. 4) . Star ( 1 ) . Star ( 0.4 ) )
19
+ . Margin ( 20 , 10 )
20
+ . RowSpacing ( 5 )
21
21
. Children (
22
22
( IView ) new VerticalStackLayout ( )
23
- . Spacing ( 10 )
23
+ . Spacing ( 5 )
24
24
. Children (
25
25
new HorizontalStackLayout ( )
26
26
. CenterHorizontal ( )
27
27
. Spacing ( 5 )
28
- . Margin ( 0 , 25 , 0 , 0 )
28
+ // .Margin(0, 25, 0, 0)
29
29
. Children (
30
30
new Label ( )
31
31
. Text ( "My" )
32
32
. TextColor ( DeepSkyBlue )
33
- . FontSize ( 44 )
33
+ . FontSize ( 25 )
34
34
. FontAttributes ( Bold ) ,
35
35
36
36
new Label ( )
37
37
. Text ( "FINANCE" )
38
38
. TextColor ( Black )
39
- . FontSize ( 44 )
39
+ . FontSize ( 25 )
40
40
. FontAttributes ( Bold )
41
41
) ,
42
42
43
- new Label ( )
44
- . Text ( "Welcome to our app" )
45
- . TextColor ( Black )
46
- . FontSize ( 25 )
47
- . FontAttributes ( Bold )
48
- . Margin ( 0 , 30 , 0 , 0 ) ,
43
+ new VerticalStackLayout ( )
44
+ . Spacing ( 3 )
45
+ . Children (
46
+ new Label ( )
47
+ . Text ( "Welcome to our app" )
48
+ . TextColor ( Black )
49
+ . FontSize ( 15 )
50
+ . FontAttributes ( Bold ) ,
49
51
50
- new Label ( )
51
- . Text ( "Create a free account" )
52
- . TextColor ( Black )
53
- . FontSize ( 15 )
54
- . FontAttributes ( Italic )
52
+ new Label ( )
53
+ . Text ( "Create a free account" )
54
+ . TextColor ( Black )
55
+ . FontSize ( 12 )
56
+ . FontAttributes ( Italic )
57
+ )
55
58
) ,
56
59
57
60
new VerticalStackLayout ( )
58
- . Spacing ( 15 )
61
+ . Spacing ( 5 )
59
62
. Row ( 1 )
60
63
. Children (
61
64
new TextEdit ( )
@@ -80,12 +83,12 @@ public override void Build()
80
83
81
84
new TextEdit ( )
82
85
. LabelText ( "Phone" )
83
- . Keyboard ( Keyboard . Telephone )
86
+ . Keyboard ( Telephone )
84
87
. Text ( e => e . Path ( "UserModel.PhoneNumber" ) ) ,
85
88
86
89
new TextEdit ( )
87
90
. LabelText ( "Age" )
88
- . Keyboard ( Keyboard . Numeric )
91
+ . Keyboard ( Numeric )
89
92
. Text ( e => e . Path ( "UserModel.Age" ) ) ,
90
93
91
94
new ComboBoxEdit ( )
@@ -94,30 +97,12 @@ public override void Build()
94
97
{
95
98
"Male" ,
96
99
"Female"
97
- } ) ,
98
-
99
- new Grid ( )
100
- . ColumnDefinitions ( e => e . Star ( ) . Star ( ) )
101
- . FillHorizontal ( )
102
- . Children (
103
- new CheckEdit ( )
104
- . Label ( "Remember for 30 days" )
105
- . AlignStart ( )
106
- . IsChecked ( e => e . Path ( "UserModel.IsRememberMe" ) ) ,
107
-
108
- new Label ( )
109
- . Text ( "Forget password" )
110
- . TextColor ( DeepSkyBlue )
111
- . TextDecorations ( Underline )
112
- . TextCenterVertical ( )
113
- . Column ( 1 )
114
- . AlignEnd ( )
115
- )
100
+ } )
116
101
) ,
117
102
118
103
new VerticalStackLayout ( )
119
104
. Row ( 2 )
120
- . Spacing ( 20 )
105
+ . Spacing ( 10 )
121
106
. Children (
122
107
new Button ( )
123
108
. Text ( "Sign up" )
@@ -134,7 +119,7 @@ public override void Build()
134
119
. Text ( "Already have an account? " )
135
120
. TextColor ( Black )
136
121
. FontAttributes ( Italic )
137
- . FontSize ( 16 ) ,
122
+ . FontSize ( 14 ) ,
138
123
139
124
new Label ( )
140
125
. Text ( "Sign in" )
@@ -149,7 +134,8 @@ public override void Build()
149
134
150
135
new HorizontalStackLayout ( )
151
136
. Row ( 3 )
152
- . Center ( )
137
+ . CenterHorizontal ( )
138
+ . AlignBottom ( )
153
139
. Spacing ( 5 )
154
140
. Children (
155
141
new Label ( )
@@ -165,9 +151,13 @@ public override void Build()
165
151
. FontSize ( 18 )
166
152
) ,
167
153
168
- new GeneralPopup ( "HATA" , "Kullanıcı Adı veya Şifre Hatalı!!! " , "OK" , PopupType . Error )
154
+ new GeneralPopup ( "BİLGİ" , "Kullanıcı Başarılı Şekilde Eklendi. " , "OK" , PopupType . Info )
155
+ . RowSpan ( 4 )
156
+ . IsOpen ( e => e . Path ( "IsInfoPopupShow" ) ) ,
157
+
158
+ new GeneralPopup ( "HATA" , "İşlem sırasında beklenmeyen bir hata oluştu! " , "OK" , PopupType . Error )
169
159
. RowSpan ( 4 )
170
- . IsOpen ( e => e . Path ( "IsPopupShow " ) )
160
+ . IsOpen ( e => e . Path ( "IsErrorPopupShow " ) )
171
161
)
172
162
) ;
173
163
}
0 commit comments