Python 调整窗口大小时,kivy应用程序正在破坏布局

Python 调整窗口大小时,kivy应用程序正在破坏布局,python,layout,kivy,Python,Layout,Kivy,我刚刚安装并配置了Kivy、PyGame、Cyphon、Python3以及我需要的一切,当我执行main.py时,它开始打印警告: [WARNING] [Accordion ] not enough space for displaying all children [WARNING] [Accordion ] need 176px, got 100px [WARNING] [Accordion ] layout aborted. [WARNING] [Accordion ] n

我刚刚安装并配置了Kivy、PyGame、Cyphon、Python3以及我需要的一切,当我执行main.py时,它开始打印警告:

[WARNING] [Accordion   ] not enough space for displaying all children
[WARNING] [Accordion   ] need 176px, got 100px
[WARNING] [Accordion   ] layout aborted.
[WARNING] [Accordion   ] not enough space for displaying all children
[WARNING] [Accordion   ] need 220px, got 100px
[WARNING] [Accordion   ] layout aborted.
[WARNING] [Accordion   ] not enough space for displaying all children
[WARNING] [Accordion   ] need 220px, got 100px
[WARNING] [Accordion   ] layout aborted.
[WARNING] [Accordion   ] not enough space for displaying all children
[WARNING] [Accordion   ] need 220px, got 100px
[WARNING] [Accordion   ] layout aborted.
[INFO   ] [Context     ] Reloading graphics data...
[INFO   ] [Context     ] Reloading done in 0.1813s
 'kivy.graphics.context.Context.dealloc_texture' ignored
 Exception OverflowError: 'signed integer is greater than maximum' in 'kivy.graphics.context.Context.dealloc_texture' ignored
 Exception OverflowError: 'signed integer is greater than maximum' in 'kivy.graphics.context.Context.dealloc_texture' ignored
[WARNING] [Accordion   ] not enough space for displaying all children
[WARNING] [Accordion   ] need 176px, got 100px
[WARNING] [Accordion   ] layout aborted.
对象不适合这个小布局,所以我必须展开它才能看到所有内容。 每当我调整窗口大小时,它都会打印以下内容:

异常溢出错误:忽略“kivy.graphics.context.context.dealoc_texture”中的“有符号整数大于最大值”

框架将完全变黑


有没有办法解决这个问题?我是否缺少框架?或者它是Kivy中的一个bug?

你能发布你的代码吗?这些是我得到的唯一错误。我是说你的python代码抛出了这些错误,所以我们可以自己测试它。它需要整个Kivy designer五,正如我所知,main.py会打开所有必要的脚本,但是,如果你想在这里看到整个文件: