本文介紹了Kivy - 標簽中出現黑屏錯誤的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!
問題描述
我在 kivy 中創建了一個包含大量信息的標簽.它位于滾動視圖小部件下,因此成為可滾動標簽.但是由于它有很多信息,它會變成黑色并且不顯示任何內容.它還有字體為roboto和大小為30的文本.我相信這是導致錯誤的原因.而且它似乎沒有引發任何錯誤.
I created a label in kivy which contains a lot of information. 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. Also it seems to not raise any error.
誰能幫我解決這個問題?
Could anyone help me overcome this problem?
謝謝
推薦答案
使用 ScrollLabel 相反,它是專門為避免這個問題而創建的.
Use a ScrollLabel instead, it was created specifically to avoid this problem.
這篇關于Kivy - 標簽中出現黑屏錯誤的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!
【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!