[Python] How can I create a transparent MDTextField in KivyMD?

Discussão em 'Python' iniciado por Stack, Setembro 14, 2025.

  1. Stack

    Stack Membro Participativo

    I'm trying to create a fully transparent KivyMD MDTextInput. So far, I have tried this:

    MDFloatLayout: id: layout

    MDTextField:
    mode: "filled"
    color: "Custom"
    size_hint: 1, 1
    fill_color_normal: 0, 0, 0, 0
    fill_color_focused: 0, 0, 0, 0
    text_color_normal: 0, 0, 0, 0
    text_color_focused: 0, 0, 0, 0

    MDTextFieldHintText:
    text: "Start typing..."


    But it's fully white

    KivyMD version: 2.0.1dev0

    Continue reading...

Compartilhe esta Página