英文:
How to display log text exceeding 100,000 lines in fyne?
问题
在fyne中,应该使用哪个小部件来渲染超过100,000行的可滚动日志文本?
我从套接字接收日志文本,最新的文本显示最后一行。
效果类似于终端输出。我查看了fyne io/terminal的实现,但它无法回滚。
我尝试了List,但滚动效果似乎不够流畅。
我正在寻找更好的解决方案。
英文:
What widget should be used to render scrollable log text exceeding 100,000 lines in fyne?
I receive the log text from the socket, and the latest text displays the last line.
The effect is similar to terminal output. I checked the implementation of fyne io/terminal, but it cannot scroll back.
I tried List, but the scrolling didn't seem smooth.
I am looking for a better solution.
答案1
得分: 0
列表可能是正确的方式,它能够处理那个级别的内容。
如果性能不够好,那就在项目上报一个错误。
英文:
List is likely the right way, it is capable of that level of content.
If performance is not sufficient then open a bug on the project.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论