O
O
Oxblad2020-03-30 23:01:01
Python
Oxblad, 2020-03-30 23:01:01

How to set the padding of a Python Kivy Label?

Label:
        id: label
        padding_y: [10,0]
        size_hint: (.50, .35)
        pos: (0, 20)
        text: '\n'
        markup: True


There is such code Kivy .kv
But for some reason it doesn't indent.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
Umpiro, 2020-03-31
@Umpiro

Maybe because

padding_y is a NumericProperty
?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question