Elliot Garbus
Elliot Garbus
As a workaround you could add a method to Widget: ```python from kivy.app import App from kivy.lang import Builder from kivy.uix.widget import Widget kv = """ BoxLayout: orientation: 'vertical' AnchorLayout:...
I wanted to make display a kivy property, so made the changed below. This is a very reasonable workaround. ```python from kivy.app import App from kivy.lang import Builder from kivy.uix.widget...
Glad to see you have something that works for your use case. I don't really understand your use case, but it seems like you could use a ScreenManager to make...
@FilipeMarch Yes, I see your point, if you use a ScreenManager, the same problem exists. The space is still there. Here is an example using the ScreenManager to hide the...
How about as a mixin... ```python from kivy.app import App from kivy.lang import Builder from kivy.uix.button import Button from kivy.properties import BooleanProperty kv = """ BoxLayout: orientation: 'vertical' AnchorLayout: DisplayButton:...
Preserving the order adds a number of complications. Assume we have a layout that includes some Widgets with DisplayBeahvior and some without. The widget lacks a mechanism to track additions/removals...
Here is a prototype that adds a behavior to the layout and the widgets. I added a name to the widgets as a way to access the widget to show/hide....
Here is an updated prototype. This makes a few improvements and segregates the test code such that the file can be imported directly: ```python from kivy.uix.layout import Layout from kivy.properties...
I have not used platformdirs but it looks very good. On Windows I've been using https://gist.github.com/mkropat/7550097 and then creating my own constructs. plafromdirs looks much better. Here is what i...
The AsycImage widget is not calling the error callback or throwing an exception with any of the animated gifs above. It does not display with image. Using the test code...