The object of CEikRichTextEditor does not scale
| Thu, 2008-02-07 15:07 | |
|
Hello, I use two objects of CEikRichTextEditor in one window. iRt1 = new (ELeave) CEikRichTextEditor(); iRt2 = new (ELeave) CEikRichTextEditor(); when I switch the phone from portrait mode to landscape mode, those two rich text editors do not scale. I also use this function to set the size of the rich text editor iRt1->SetExtent (edit_origin, TSize (width, height)); |
|






Forum posts: 48
Are you overriding HandleResourceChange() in your container...If not then you might have to ...
void YourContainer::HandleResourceChange(TInt aType)
{
if( aType == KEikDynamicLayoutVariantSwitch )
{
if(iView)
{
SetRect(iView->ClientRect());
}
}
}
Dushyant Gaur
Software Specialist,
Kodiak Networks,
No 401 Prestige Sigma, 4th Floor
3 Vittal Mallya Road
Bangalore - 560 001
India