CPAlbImageViewerBasic: can't resize
| Fri, 2005-05-13 18:38 | |
|
Hi ! I have a curious problem using the CPAlbImageViewerBasic (ok it's deprecated, but It was the easiest way to quickly insert a JPG Picture ) in my Container. In the Draw() method of the container I have : CPAlbImageViewerBasic* iViewer = CPAlbImageViewerBasic::NewL(this, Rect()); iViewer->SetImageNameAndDisplaymodeL(_L("test.jpg"), EColor64K); gc.BitBlt(TPoint(0,0),iViewer->Bitmap()); The picture is loaded and displayed but always tiny and never with the correct/original size. I've tried to use the iViewer->SetOptimize() or SetSize(Tpoint(100,100)) : unfortunately the size of the picture remains the same. What can I do to avoid this ![]() Thx a lot for your answers ! MatD |
|







Forum posts: 93
Rect() was to little and did not take the container size
MatD