MonoDroid.Dialog icon indicating copy to clipboard operation
MonoDroid.Dialog copied to clipboard

MultilineElement not rendering any text.

Open CartBlanche opened this issue 13 years ago • 2 comments

Setting the Caption or Value properties of a Multi-Line Element, does not display anything. The Element allows you to type into it, but it is then rendered as black text on a black background.

CartBlanche avatar Apr 24 '12 11:04 CartBlanche

I've started work on a multi-line String element, as I just need to display multi-line data that is not editable. If I have success getting it working, I'll send a pull request. If I should be inheriting from anything other than StringElement, let me know.

CartBlanche avatar Apr 24 '12 14:04 CartBlanche

Clancey, this morning I was thinking that rather than create a new element from scratch, I thought I would enhance the StringElement with a couple of properties. namely a bool called Multiline and an int called Lines. Then set these within GetView for the Textview? This seems to work rather well, at least for my scenario. Any objections?

CartBlanche avatar Apr 25 '12 08:04 CartBlanche