kivy - Kivy: How do you make a rounded TextInput in kivy?
问题描述
well guys I've researched but everything is so minimal about this. all I've found was This: Kivy: TextInput border radius. So guys can you tell how to make a rounded textinput in kivy like easier. I need a solution. I've tried radius: [58]
, nope. I've heard of ellipse in the link above in the code, although I'm not sure how to use it. What does it do - how do you use it - or is it not the solution.
解决方案
I'm not sure what you mean by rounded text input, but a way to make an input an ellipse-like is by using KivyMD. Inside of KivyMD there is something called MDTextFieldRound which gives you this. Here is a page on it: https://kivymd.readthedocs.io/en/0.104.1/components/text-field/
推荐阅读
- c# - EF 6 如何使用多级包含
- redis - 计算或列出 redis 流中的所有 ACKnowledged 消息
- ios - WKWebView:表单未在 WKWebView (Swift) 中提交
- linux - Chefspec 在 Linux 上删除 Win32::Service
- apache-kafka - Flink 检查点不断失败(等待 InitProducerId 时超时)
- mysql - 如何计算按周分组的日期之间的多条记录的单天
- amazon-web-services - 如何在 Amazon Linux 2 上配置 nginx?
- c# - 使用 linq 缓慢识别重复项
- typescript - 从打字稿中的类型常量中提取值
- java - JTable 问题 - 删除过滤表