mulwidgets/mulcoverflowwidget/src/mulbaseelement.cpp
branchRCL_3
changeset 11 65e535be25c8
parent 0 e83bab7cf002
child 12 1ff7a906e138
equal deleted inserted replaced
10:c377fbf92a12 11:65e535be25c8
  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     	}