Progress
Translation Manager
Guide
Creating Adjustable Text on Rectangles
Developers often overlay text over rectangles in graphical interfaces, especially for three-dimensional applications or for radio sets where the rectangle creates a border for the radio options. If the developers use an absolute boundary to eliminate space to the right of the last letter of text for the source language, when you translate the application, the target text phrase might be truncated or have too much extra space. To avoid this problem, developers should use ru--time adjustments as illustrated in the following code example. In this example, the FONT–TABLE object allows the width of the object to grow or shrink as needed. This requires more coding but provides a uniform and predictable interface for translation, as follows:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |