Shikhar13 / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

java.lang.IllegalArgumentException: margin cannot be negative #278

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I implemented longKeyPress and longPointerPress methods on List component to 
show popup dialog containing menu items when invoked. It works well for some 
List item indexes down to zero index, but at some point upward it starts 
throwing IllegalArgumentException: margin cannot be negative

The issue it related to the tools or API

What steps will reproduce the problem?
1. I have attached a simple project that can reproduce the bug.
2. If you uncheck "Scrollable Y" property checkbox in the GUI Builder of the 
Form the List component to that is when the exception will be throne.
3. On checking the checkbox the exception disappears.

Am using API version 1.0.14

Netbeans 7.1

Windows 7 Ultimate 32bits

Original issue reported on code.google.com by chibe...@gmail.com on 28 Jul 2012 at 4:58

Attachments:

GoogleCodeExporter commented 9 years ago
Assigning to Chen

Original comment by shai.almog on 29 Jul 2012 at 5:01

GoogleCodeExporter commented 9 years ago
fixed, thanks

Original comment by cf27...@gmail.com on 30 Jul 2012 at 12:53

GoogleCodeExporter commented 9 years ago
Well done Chen, Good job

Original comment by chibe...@gmail.com on 2 Aug 2012 at 4:59