emailuis/uicomponents/src/fscontrolbuttonvisualiser.cpp
branchRCL_3
changeset 12 f5907b1a1053
parent 8 e1b6206813b4
child 16 4ce476e64c59
equal deleted inserted replaced
8:e1b6206813b4 12:f5907b1a1053
  1264         iIconBContainer->SetPos( iconB.iTl );
  1264         iIconBContainer->SetPos( iconB.iTl );
  1265         iIconB->SetSize( TAlfRealSize( size ) );
  1265         iIconB->SetSize( TAlfRealSize( size ) );
  1266         }
  1266         }
  1267     if ( iButtonModel->ContainsElement( ECBElemLabelFirstLine ) )
  1267     if ( iButtonModel->ContainsElement( ECBElemLabelFirstLine ) )
  1268         {
  1268         {
  1269         iLabelFirstLine->SetSize( text1.Size() );
  1269 		if ( iLabelFirstLine )
  1270         iLabelFirstLine->SetPos( text1.iTl );
  1270 			{
       
  1271 			iLabelFirstLine->SetSize( text1.Size() );
       
  1272 			iLabelFirstLine->SetPos( text1.iTl );
       
  1273 			}
  1271         }
  1274         }
  1272     if ( iButtonModel->ContainsElement( ECBElemLabelSndLine ) )
  1275     if ( iButtonModel->ContainsElement( ECBElemLabelSndLine ) )
  1273         {
  1276         {
  1274         iLabelSecondLine->SetSize( text2.Size() );
  1277         iLabelSecondLine->SetSize( text2.Size() );
  1275         iLabelSecondLine->SetPos( text2.iTl );
  1278         iLabelSecondLine->SetPos( text2.iTl );