kivy应用程序在调整窗口大小时打破了布局

时间:2016-04-01 07:13:33

标签: python layout kivy

我刚安装并配置了Kivy,PyGame,Cyphon,Python 3以及我需要的一切,当我执行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.

对象不适合小布局,所以我必须扩展它才能看到所有内容。 每当我调整窗口大小时,它都会打印出来:

Exception OverflowError: 'signed integer is greater than maximum' in 'kivy.graphics.context.Context.dealloc_texture' ignored

并且框架将完全变黑。

有没有办法解决这个问题?我错过了框架吗?或者这是Kivy的一个错误?

0 个答案:

没有答案