setting a non default space property of gridlayout and box layout disables touch interface.

10 views
Skip to first unread message

Santosh Astgimath

unread,
Oct 29, 2018, 1:22:00 PM10/29/18
to Kivy users support
Hi,

I am trying to build simple gui with switches & labels in grid layout. when I set space property of the grid layout the switch objects dont recognise the touch.

Please help.

I am currently trying this on android phone using pydroid3.

-santosh

Глеб Самойлов

unread,
Oct 29, 2018, 2:10:47 PM10/29/18
to Kivy users support
Show code...

понедельник, 29 октября 2018 г., 19:22:00 UTC+2 пользователь Santosh Astgimath написал:

Santosh Astgimath

unread,
Oct 29, 2018, 2:21:58 PM10/29/18
to kivy-...@googlegroups.com
hi, 

Please find code as attachment. 



Regards 
Santosh 

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/b7960500-ae64-4572-95b5-35f2709015ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
GUITest8.py

Santosh Astgimath

unread,
Oct 29, 2018, 2:23:26 PM10/29/18
to kivy-...@googlegroups.com
hi,

if you comment line 60 and 61 the touch works. 

Regards 
Santosh 

Глеб Самойлов

unread,
Oct 29, 2018, 3:08:48 PM10/29/18
to Kivy users support
self.switch22.append(Switch(active=True, size_hint_y=None, height=80))

понедельник, 29 октября 2018 г., 20:23:26 UTC+2 пользователь Santosh Astgimath написал:

Santosh Astgimath

unread,
Oct 29, 2018, 3:56:06 PM10/29/18
to kivy-...@googlegroups.com
hi,


thank you so much for the help... 


best regards 
Santosh 

Reply all
Reply to author
Forward
0 new messages