The following code failed in MicroEmulator but works fine in WTK and on a real device:
Alert alert = new Alert("Foo"); Gauge gauge = new Gauge(null, false, 10, 0); alert.setIndicator(gauge);
Logged In: YES user_id=1276308 Originator: YES
This is the UnitTest code for the previous patch. File Added: gauge-vs-alert-unittest.txt
I just set them both prefWidth and prefHeight to -1 when creating them, and that seemed to work. In any case I can confirm this is a problem.
Log in to post a comment.
Logged In: YES
user_id=1276308
Originator: YES
This is the UnitTest code for the previous patch.
File Added: gauge-vs-alert-unittest.txt
I just set them both prefWidth and prefHeight to -1 when creating them, and that seemed to work. In any case I can confirm this is a problem.