Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultilineElement not rendering any text. #3

Open
CartBlanche opened this issue Apr 24, 2012 · 2 comments
Open

MultilineElement not rendering any text. #3

CartBlanche opened this issue Apr 24, 2012 · 2 comments

Comments

@CartBlanche
Copy link

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
Copy link
Author

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
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant