uidesigner/com.nokia.carbide.cpp.uidesigner.doc.user/html/concepts/con_scalable_strings.htm
author Deepak Modgil <Deepak.Modgil@Nokia.com>
Fri, 03 Apr 2009 23:33:03 +0100
changeset 0 fb279309251b
permissions -rw-r--r--
DP tools release version Revision: 200912

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>Scalable Strings </title>
<link rel="StyleSheet" href="../../book.css" type="text/css"/>
</head>
<body bgcolor="#FFFFFF">
<h2>Scalable Strings </h2>

<p> The UI Designer provides support for scalable strings when designing interfaces. A scalable string is a list of string variants that can be displayed based upon some criteria, like the width of the current view, to show as much information as possible. </p>
<p>For example, a scalable string list for a component might read:</p>
<ul>
  <li>Contact Information</li>
  <li>Contact Info</li>
  <li>Contacts</li>
</ul>
<p>Scalable strings are enabled in S60 2.8 and above. The S60 platform automatically selects the longest string that will fit in the space allotted for a piece of text. This space may change, for instance, when switching between portrait and landscape modes. Up to five strings may be specified. When viewing or editing scalable string properties as text rather than using the string list editor dialog, the variants are separated by the ASCII 1 ('\001') character, as in S60 source code.</p>
<h5>Related tasks</h5>
<ul>
  <li><a href="../tasks/properties/task_comp_mod_properties_string.htm">Editing String List Data</a></li>
</ul>

<h5>Related references</h5>
<ul>
  <li><a href="../reference/views/ref_properties_view.htm">Properties View</a></li>
  <li><a href="../reference/views/ref_edit_image_property.htm">Edit Image Property Dialog</a></li>
</ul>

<div id="footer">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>

</body>
</html>