python - My text size of a label won't change in kivy -


i'm trying add label widget kv file text size won't change, understand think actual label size changing because label position should @ bottom of screen it's in middle of screen when run script.

<leftarea@floatlayout>:       label:         text: 'search term: '         text_size: 200, 200         size: 200, 200         pos_hint: {'bottom': 1, 'left': 1} 

enter image description here

ok, fixed it, used markup text

label:     markup: true     text: '[size=20]search term: [/size]' 

i still don't understand why original code doesn't work if can explain because followed kivy docs.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -