我使用的是QuickDialog库中的QEntryElement。由于某些原因,在iPad.How中看到的QEntryElement标题有省略号,我应该解决这个问题吗?

另一个问题是在横向模式下,输入的iPad文本与QEntryElement的标题重叠。

let userNameElement: QEntryElement = QEntryElement(key: "ACCOUNT")
userNameElement.title = "Account"
userNameElement.keyboardType = UIKeyboardType.EmailAddress
userNameElement.autocapitalizationType = UITextAutocapitalizationType.None
userNameElement.autocorrectionType = UITextAutocorrectionType.No发布于 2016-07-06 05:04:51
所以为了省略问题,我这样做了。
我签出了QuickDialog,所以我在本地拥有它,并像这样修改了QTableViewCell:
- (void)layoutSubviewsInsideBounds:(CGRect)bounds {
...
self.textLabel.frame = CGRectMake(15, self.textLabel.frame.origin.y,
self.textLabel.frame.size.width, self.textLabel.frame.size.height);
}我知道这不是很好的解决方案,但它看起来更好。

当我对添加的那行进行注释时,我得到的结果是:

https://stackoverflow.com/questions/37711782
复制相似问题