Kivy with Python tutorial Part 5 - Dynamic Resizable Placement

preview_player
Показать описание
In this Kivy application development tutorial, we cover how to code dynamic positions for things like widgets and buttons, this way your application can be run on multiple screen types, as well as screens that might change ratios, like cell phones which have screens that are either landscape or portrait.

Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Рекомендации по теме
Комментарии
Автор

more videos related to kivyy
your videos were the best I've seen, thank you

isabeln.
Автор

you know its time to get a new GPU when kivy takes 8 seconds to render two buttons

ukflnzq
Автор

Nice video, Thank you, sentdex. I got a question:In the .kv file, it seems that '<Button>' does the same as '<Button>:', it seems that ':' could be ignored. Is that right?

wizardy
Автор

Terrific video series. But I believe you misspoke at ~4:28 when you said "self" referred to Widgets, but it refers to the particular Button itself, though you said it correctly a little later.

RufusVidS
Автор

Please let me know how can I use "root.top-self.height" in placement in Python and not in kivy language. I want to place a vertical menu starting from the top, please let me know how can I achieve it in Python.

arsalanahmad
Автор

how about a video going over background color, border, placing a .jpg image inside button?

BeYakko
Автор

Hi,

I am trying out your code in Spyder python. I am facing an issue. Whenever I edit the window prepoperty and try to reload the window. Its going for a toss.


[WARNING] [Lang ] The file C:\Users\user1\Desktop\python practice\simplekivy1.kv is loaded multiples times, you might have unwanted behaviors.

[INFO ] [Base ] Start application main loop

[ERROR ] [Base ] No event listeners have been created

[ERROR ] [Base ] Application will leave


Please help me on the same

shandeepsamy
Автор

Please make more videos related to kivy

userx
Автор

Hey thanks for posting the video! It's helping me out a lot. Could you possibly show how to create buttons and the likes using pure python and not the kivy language. I'm using GUI for a coursework project but I can only use python.
Thanks!

MultiNobcheese
Автор

OH GOD WHY! Why the fuck is y = 0 and x = 0 in the lower left corner!!! (left makes sense). who invented it like that!?!

BenisBoy