comparison cagou/kv/profile_manager.kv @ 450:ff5516adc1f5

profile manager: don't activate `Connect` button until we get authentication result from backend
author Goffi <goffi@goffi.org>
date Sat, 28 Mar 2020 19:11:35 +0100
parents 1b835bcfa663
children 3c9ba4a694ef
comparison
equal deleted inserted replaced
449:6c21a5a44b54 450:ff5516adc1f5
191 deselected_color: (1,1,1,1) if self.index%2 else (0.87,0.87,0.87,1) 191 deselected_color: (1,1,1,1) if self.index%2 else (0.87,0.87,0.87,1)
192 selected_color: 0.67,1.0,1.0,1 192 selected_color: 0.67,1.0,1.0,1
193 selected: self.state == 'down' 193 selected: self.state == 'down'
194 color: 0,0,0,1 194 color: 0,0,0,1
195 background_color: self.selected_color if self.selected else self.deselected_color 195 background_color: self.selected_color if self.selected else self.deselected_color
196 on_press: self.ps.pm.selected = self if self.selected else '' 196 on_press: self.ps.pm.selectProfile(self)
197 height: dp(30) 197 height: dp(30)