would like to add a Widget to a fixed position in a Float or RelativeLayout. The position needs to be 10 pixels from its left border, and 10 pixels down from its top border. The layout's size and position can change.
I don't want to use a pos_hint because that moves my widget as the layout is resized. It looks a little weird. That said, I can't seem to make it work the way I want..The problem, of course, is that I can't set a fixed position right away because I don't know how big the Layout is until after it's added.
I have tried to set it and then bind:
self.bind(on_position=self.reposition_stuff, on_size=self.reposition_stuff)
But my self.reposition_stuff method is never called.
Am I on the right track, at least? Do layouts swallow the on_position and on_size events?
Thanks.