Bug 5929 - Cannot "unset" lines value on TextView
Summary: Cannot "unset" lines value on TextView
Alias: None
Product: Android
Classification: Xamarin
Component: Designer ()
Version: 4.2.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Lluis Sanchez
Depends on:
Reported: 2012-06-29 15:02 UTC by Justin Johnson
Modified: 2012-07-18 09:26 UTC (History)
1 user (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Justin Johnson 2012-06-29 15:02:52 UTC
If you have a TextView with the "lines" attribute defined you cannot undefine it. If you decide you want the TextView to have 1-5 lines using "minLines" and "maxLines" attributes...you need to remove the value in the "lines" field. Attempting to remove the value throws an invalid value error. You have to manually edit the XML to get rid of the value.

Visual Studio designer plugin 4.2.3
Comment 1 Lluis Sanchez 2012-07-18 09:26:02 UTC
Fixed in master.