comparison cagou/kv/profile_manager.kv @ 148:d1408a98c505

profile manager: removed images (use plain color instead), and changed colors
author Goffi <goffi@goffi.org>
date Sat, 14 Apr 2018 19:40:13 +0200
parents cd99f70ea592
children 89ba66464329
comparison
equal deleted inserted replaced
147:11d134eb51d7 148:d1408a98c505
159 disabled: not self.profile_screen.list_adapter.selection 159 disabled: not self.profile_screen.list_adapter.selection
160 on_press: self.pm._onConnectProfiles() 160 on_press: self.pm._onConnectProfiles()
161 161
162 162
163 <ProfileItem>: 163 <ProfileItem>:
164 # FIXME: using cagou/images path for now, will use atlas later 164 background_normal: ""
165 background_normal: "cagou/images/button_selected.png" if self.is_selected else "cagou/images/button.png" 165 background_down: ""
166 deselected_color: 1,1,1,1 166 deselected_color: (1,1,1,1) if self.index%2 else (0.87,0.87,0.87,1)
167 selected_color: 1,1,1,1 167 selected_color: 0.67,1.0,1.0,1
168 color: 0,0,0,1 168 color: 0,0,0,1