equal
deleted
inserted
replaced
8281 } |
8281 } |
8282 else |
8282 else |
8283 { |
8283 { |
8284 rect = node->BorderRect(); |
8284 rect = node->BorderRect(); |
8285 } |
8285 } |
8286 if ( adapter->Rect() != rect ) |
8286 |
|
8287 // popup calculates its position based on _s60-position-hint property |
|
8288 // This needs to be done even if popup's rect has not been changed |
|
8289 if( node->Type()->Type() == KPopUpNodeName ) |
|
8290 { |
|
8291 adapter->DoHandlePropertyChangeL(); |
|
8292 } |
|
8293 else if ( adapter->Rect() != rect ) |
8287 { |
8294 { |
8288 AddToRedrawListL( node, rect ); |
8295 AddToRedrawListL( node, rect ); |
8289 |
8296 |
8290 // popup calculates its position based on _s60-position-hint property |
8297 adapter->SetRect( rect ); |
8291 if( node->Type()->Type() == KPopUpNodeName ) |
8298 |
8292 { |
|
8293 adapter->DoHandlePropertyChangeL(); |
|
8294 } |
|
8295 else |
|
8296 { |
|
8297 adapter->SetRect( rect ); |
|
8298 } |
|
8299 CXnProperty* prop = node->GetPropertyL( |
8299 CXnProperty* prop = node->GetPropertyL( |
8300 XnPropertyNames::common::KSizeAware ); |
8300 XnPropertyNames::common::KSizeAware ); |
8301 if ( prop && prop->StringValue() == |
8301 if ( prop && prop->StringValue() == |
8302 XnPropertyNames::KTrue ) |
8302 XnPropertyNames::KTrue ) |
8303 { |
8303 { |
9563 iClientRect = aRect; |
9563 iClientRect = aRect; |
9564 |
9564 |
9565 UpdateInternalUnits( iHorizontalUnitInPixels, iVerticalUnitInPixels, |
9565 UpdateInternalUnits( iHorizontalUnitInPixels, iVerticalUnitInPixels, |
9566 iClientRect ); |
9566 iClientRect ); |
9567 |
9567 |
|
9568 iEditMode->SetClientRect( aRect ); |
|
9569 |
9568 if ( aDrawNow ) |
9570 if ( aDrawNow ) |
9569 { |
9571 { |
9570 RootNode()->SetDirtyL(); |
9572 RootNode()->SetDirtyL(); |
9571 iUiEngine->RenderUIL(); |
9573 iUiEngine->RenderUIL(); |
9572 } |
9574 } |