简体   繁体   English

Kivy - 标签中出现黑屏错误

[英]Kivy - Black screen error in label

I created a label in kivy which contains a lot of information.我在 kivy 中创建了一个包含大量信息的标签。 It comes under a scrollview widget hence becoming a scrollable label.它属于滚动视图小部件,因此成为可滚动标签。 But since it has a lot of information it turns black and doesn't display anything.但由于它有很多信息,它会变黑并且不显示任何内容。 Also it has text with font roboto and size 30. I believe this is causing the error.它还有带有roboto字体和30号的文本。我相信这是导致错误的原因。 Also it seems to not raise any error.它似乎也没有引发任何错误。

Could anyone help me overcome this problem?谁能帮我克服这个问题?

Thanks谢谢

请改用ScrollLabel ,它是专门为避免此问题而创建的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM