Search code examples
kivykivy-language

kivy: fixed layout with absolute positioning only


I try to make a window with kivy. Everything should be positioned absolute. However I struggle with simple things like adding a label at a certain position because position: 5, 5 just gets ignored.

So how to I layout a Window where I can place everything at a defined location?


Solution

  • The root witget should be either a Screen, FloatLayout or RelativeLayout. This will allow you to set an absolute pos attribute for its children.