Skip to content

Commit

Permalink
Support remove_widget() on MDListItem (#1646)
Browse files Browse the repository at this point in the history
  • Loading branch information
ikus060 committed Mar 12, 2024
1 parent 46be1e6 commit a1bd1f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kivymd/uix/list/list.kv
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
size_hint_x: None
width: 0
on_children:
if text_container.children: \
if text_container.children and self.children: \
self.children[0].pos_hint = {"top": 1} \
if len(text_container.children) == 3 else {"center_y": .5}

Expand Down

0 comments on commit a1bd1f6

Please sign in to comment.