ipsservices/ipssossettings/src/ipssetuibasearray.cpp
branchRCL_3
changeset 52 efd4f1afd43e
parent 0 8466d47a6819
equal deleted inserted replaced
29:6b8f3b30d0ec 52:efd4f1afd43e
   195 void CIpsSetUiBaseArray::ListboxItemFillEditValueLabel(
   195 void CIpsSetUiBaseArray::ListboxItemFillEditValueLabel(
   196     const CIpsSetUiItem& aBaseItem,
   196     const CIpsSetUiItem& aBaseItem,
   197     TIpsSetUtilsTextPlain& aText ) const
   197     TIpsSetUtilsTextPlain& aText ) const
   198     {
   198     {
   199     FUNC_LOG;
   199     FUNC_LOG;
   200     aText.Append( aBaseItem.Value() );
   200     const TInt KNumberSize = 10;
   201     aText.SetLength( KIpsSetUiVisibleTextLength );
   201     
       
   202     if ( aText.MaxLength() - aText.Length() >= KNumberSize )
       
   203         {
       
   204         aText.AppendNum( aBaseItem.Value() );
       
   205         }
   202     }
   206     }
   203 
   207 
   204 // ----------------------------------------------------------------------------
   208 // ----------------------------------------------------------------------------
   205 // CIpsSetUiBaseArray::ListboxItemFillEditTimeLabel()
   209 // CIpsSetUiBaseArray::ListboxItemFillEditTimeLabel()
   206 // ----------------------------------------------------------------------------
   210 // ----------------------------------------------------------------------------