【问题标题】:Monotouch.Dialog MultiLineElementMonotouch.Dialog MultiLineElement
【发布时间】:2013-11-26 16:39:15
【问题描述】:

我正在尝试使用 Monotouch.Dialog 创建 MultiLineInputElement。

我已从 InputElement 类中获取代码并对其进行了修改以使用 UITextView 以便它可以工作。

无论我做什么来强制 UITextView 大小超过一行似乎都没有影响它?我认为这是因为父行限制了它?

这是我目前的代码:

http://pastebin.com/NppqK6sE

【问题讨论】:

  • 您的 Root 元素是否设置了 UnevenRows?即 Root.UnevenRows = true;

标签: xamarin.ios xamarin monotouch.dialog


【解决方案1】:

我使用来自https://github.com/xamarin/monotouch-element-pack 的 SimpleMultilineEntryElement 完成此操作

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-03-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-01-07
    • 2023-03-22
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多