MDCard Size

31 views
Skip to first unread message

coutinh...@gmail.com

unread,
Apr 14, 2022, 7:12:53 AM4/14/22
to Kivy users support
Hello.

Is it possible for an MDCard to cover almost the entire Screen?
I would like to leave only a padding of 10 or 15.

I wanted the card to hide the screen almost completely.

Elliot Garbus

unread,
Apr 14, 2022, 2:58:43 PM4/14/22
to kivy-...@googlegroups.com

Yes.  MDCard inherited from BoxLayout. You can use all parameters and attributes of the BoxLayout class in the MDCard class.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/92243267-a821-4e65-9869-6caf85283ad8n%40googlegroups.com.

 

Osmar Souza

unread,
May 3, 2022, 3:39:16 PM5/3/22
to Kivy users support
hope it helps you

MDCard:
            size_hint: 1, 1
            pos_hint: {"center_x": .5, "center_y": .5}
            md_bg_color: 0,0,0,1
            border_radius: 0
            radius: [0]
            #opacity: 0.2
Reply all
Reply to author
Forward
0 new messages