equal
deleted
inserted
replaced
1247 int leftPosx = 0; |
1247 int leftPosx = 0; |
1248 // if mirroring is enabled(ie for RTL Language) |
1248 // if mirroring is enabled(ie for RTL Language) |
1249 if (mData->mIsMirrored) |
1249 if (mData->mIsMirrored) |
1250 { |
1250 { |
1251 CAlfLayout* main = (CAlfLayout*)findVisual( KMainLayoutIndex ); |
1251 CAlfLayout* main = (CAlfLayout*)findVisual( KMainLayoutIndex ); |
1252 TSize topLayoutSize = main->Size().Target().AsSize(); |
1252 TSize topLayoutSize = main->Size().Target().AsSize(); |
1253 rightPosx = topLayoutSize.iWidth - aCounterLctDimension.posx ; |
1253 rightPosx = topLayoutSize.iWidth - aCounterLctDimension.posx ; |
1254 leftPosx = rightPosx - numOfPixels; |
1254 leftPosx = rightPosx - numOfPixels; |
1255 } |
1255 } |
1256 else |
1256 else |
1257 { |
1257 { |
1258 rightPosx = aCounterLctDimension.posx + aCounterLctDimension.width; |
1258 //rightPosx = aCounterLctDimension.posx + aCounterLctDimension.width; |
1259 leftPosx = rightPosx - numOfPixels; |
1259 //leftPosx = rightPosx - numOfPixels; |
|
1260 leftPosx = aCounterLctDimension.posx; |
1260 } |
1261 } |
1261 mData->mCounterVisual->SetPos(TAlfRealPoint(leftPosx,aCounterLctDimension.posy)); |
1262 mData->mCounterVisual->SetPos(TAlfRealPoint(leftPosx,aCounterLctDimension.posy)); |
1262 mData->mCounterVisual->SetSize(TAlfRealPoint(numOfPixels ,aCounterLctDimension.height)); |
1263 mData->mCounterVisual->SetSize(TAlfRealPoint(numOfPixels ,aCounterLctDimension.height)); |
1263 } |
1264 } |
1264 } |
1265 } |