Mercurial > libervia-desktop-kivy
comparison src/cagou/kv/profile_manager.kv @ 62:1922506846be
design fixes:
- adjust sizes using sp/dp so it adapts on different screen resolutions
- use a shorter sentence for profile manager label, so it appears better on small screens
- various design adjustment to appear correclty on different screen size
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 04 Dec 2016 21:34:30 +0100 |
parents | 56838ad5c84b |
children |
comparison
equal
deleted
inserted
replaced
61:0b7f10de416e | 62:1922506846be |
---|---|
19 Label: | 19 Label: |
20 text: "Profile Manager" | 20 text: "Profile Manager" |
21 size_hint: 1,0.05 | 21 size_hint: 1,0.05 |
22 | 22 |
23 <PMLabel@Label>: | 23 <PMLabel@Label>: |
24 size_hint: 1, 0.1 | 24 size_hint: 1, None |
25 height: sp(30) | |
25 | 26 |
26 <PMInput@TextInput>: | 27 <PMInput@TextInput>: |
27 multiline: False | 28 multiline: False |
28 size_hint: 1, 0.1 | 29 size_hint: 1, None |
30 height: sp(30) | |
29 write_tab: False | 31 write_tab: False |
30 | 32 |
31 <PMButton@Button>: | 33 <PMButton@Button>: |
32 size_hint: 1, 0.2 | 34 size_hint: 1, 0.2 |
33 | 35 |
128 BoxLayout: | 130 BoxLayout: |
129 id: layout | 131 id: layout |
130 orientation: 'vertical' | 132 orientation: 'vertical' |
131 | 133 |
132 Label: | 134 Label: |
133 text: "Select a profile to connect with, or create a new one" | 135 text: "Select a profile or create a new one" |
134 size_hint: 1,0.05 | 136 size_hint: 1,0.05 |
135 | 137 |
136 GridLayout: | 138 GridLayout: |
137 cols: 2 | 139 cols: 2 |
138 size_hint: 1, 0.1 | 140 size_hint: 1, 0.1 |