Skip to content
Browse files

Example 7: Add some heights and size_hints to make the form a little …

…easier on the eyes.
  • Loading branch information...
1 parent ea5a383 commit e10a82ef2d8afa71dd7f4a204bd35410f5d0dcb4 @buchuki committed Jun 12, 2013
Showing with 8 additions and 0 deletions.
  1. +8 −0 orkiv/orkiv.kv
View
8 orkiv/orkiv.kv
@@ -2,8 +2,14 @@ AccountDetailsForm:
<AccountDetailsForm>:
orientation: "vertical"
+ height: "200dp"
+ size_hint_y: None
GridLayout:
cols: 2
+ row_default_height: "40dp"
+ row_force_default: True
+ spacing: "10dp"
+ padding: "10dp"
Label:
text: "Server"
TextInput:
@@ -15,4 +21,6 @@ AccountDetailsForm:
TextInput:
password: True
Button:
+ size_hint_y: None
+ height: "40dp"
text: "Login"

0 comments on commit e10a82e

Please sign in to comment.
Something went wrong with that request. Please try again.