You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure that the MDCheckbox has a non-empty group. The group can also be 'root' or 'child', but not ''.
To produce the bug, the checkbox has to be inactive. Then double-click quickly on the checkbox. If timed correctly the box will disappear or will show smaller than usual. To reproduce this issue more easily, you can also set the duration of self.check_anim_in to 1 in the MDCheckbox.__init__ method. If you click on the box while check_anim_in is running then the box will get stuck at the size
it is currently at.
Proposed solution
To fix this issue, the easiest way is to put
self.scale_value_x=1self.scale_value_y=1
at the start of the MDCheckbox.on_state method.
Versions
OS: Windows 10
Python: 3.10.11
Kivy: 2.3.0
KivyMD: 2.0.1.dev0
The text was updated successfully, but these errors were encountered:
Description of the Bug
I've found a bug in the way the MDCheckbox gets resized. Take the following example:
Make sure that the
MDCheckbox
has a non-empty group. The group can also be'root'
or'child'
, but not''
.To produce the bug, the checkbox has to be inactive. Then double-click quickly on the checkbox. If timed correctly the box will disappear or will show smaller than usual. To reproduce this issue more easily, you can also set the
duration
ofself.check_anim_in
to1
in theMDCheckbox.__init__
method. If you click on the box whilecheck_anim_in
is running then the box will get stuck at the sizeit is currently at.
Proposed solution
To fix this issue, the easiest way is to put
at the start of the
MDCheckbox.on_state
method.Versions
The text was updated successfully, but these errors were encountered: