deanbrowne / j4me

Automatically exported from code.google.com/p/j4me
1 stars 1 forks source link

Picture component bug #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I changing screen mode of dialog, in which fullscreen Picture
component added (picture updated after mode changing), it draws
incorrectly: upper, if normal mode comes first, or lower, if dialog starts
in fullscreen mode. 
Deleting Picture component from dialog and appending it solves this problem.

What version of the product are you using?
J4ME-1.0.2-20080116

In attachment goes code, witch demonstrates this bug.

Original issue reported on code.google.com by Tachikom...@gmail.com on 23 Apr 2008 at 4:57

Attachments:

GoogleCodeExporter commented 9 years ago
This is caused because the component does not invalidate itself.  When the 
image size
changes there is no notification to the Dialog to let it know.

Both this and ticket #29 need Components to know their own location on a dialog.

Original comment by deanbro...@gmail.com on 2 May 2008 at 9:00

GoogleCodeExporter commented 9 years ago
The image component now changes size correctly to fill the screen.  The 
attached test
actually leaves room for a scrollbar if you set full screen mode and then go 
back. 
This is because the test picture creates a component based on screen size 
between
switches.

Original comment by deanbro...@gmail.com on 9 May 2008 at 12:12