简体   繁体   English

故事板中的UITextfield文本剪切问题-iOS

[英]UITextfield text clipping issue in Storyboard - iOS

I am trying to design some reusable table cell for my tableview. 我正在尝试为我的tableview设计一些可重用的表格单元格。

however when i adjust the text to make it center vertical of my UITextField, the text always clipped at the bottom. 但是,当我调整文本使其使其垂直于UITextField垂直居中时,文本始终在底部被剪切。

Is this a storyboard display issue? 这是情节提要显示问题吗? Or some configuration i miss out? 还是我错过了一些配置?

Any advice? 有什么建议吗?

Figure 数字

It's not an issue with your designing. 这与您的设计无关。 Run the project, it will show it perfectly. 运行该项目,它将完美显示它。

Designer: 设计师:

在此处输入图片说明

When running: 运行时:

在此处输入图片说明

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

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