Wrangling Flex Labels: Auto-sizing Text

I am currently working on a project where we have a
fixed-width dialog box, and need to fit the title text in a label. The problem
is, the text is too long. What to do? Well, the basic Flex Label provides you a
couple of options: show an ellipsis (…) at the end of the label or cut the text
off. Neither of these solutions was viable.

This is a common problem that occurs in UI development:
fitting text in a limited space. My solution to this was to create a LabelUtil
class that automatically adjusts the font size of the text to fit the width of
the label.

Continue reading “Wrangling Flex Labels: Auto-sizing Text”

Going with the Flow: Tips and Tricks for Using the Adobe Flex TextFlow Component

We’ve been busily developing using Flex 4 (aka “Gumbo”) here at the Grio offices and are impressed with many of its new features. One of the more interesting but difficult to decipher features is the TextFlow component.

The TextFlow component is used to layout text in a highly controlled way. It uses an XML-based markup language, Text Layout Format (TLF), to define the content of the TextFlow. TLF uses some similar tags to HTML (<div>, <p>, <span>), but it is definitely not HTML.  This may trip you up a bit as you learn TLF; I recommend reading the Adobe Labs info before diving too deep into development (http://labs.adobe.com/technologies/textlayout/).

Continue reading “Going with the Flow: Tips and Tricks for Using the Adobe Flex TextFlow Component”

Grio Completes Flex App for Compiere, Inc.

Grio has recently completed a custom Adobe Flex application for Compiere, Inc. Compiere delivers the most widely used open source enterprise resource planning (ERP) and customer relationship management (CRM) solution with more than 1.8 million software downloads.

Grio was employed by Compiere to help create a new Flex-based module that will be delivered in Compiere's upcoming release.

Feel My Pain: NSXMLParser Problems Upgrading to the iPhone 3.0 SDK

I set out a couple of weeks ago to port the Killer Deals
application from the iPhone 2.2.1 SDK to 3.0. “No problem”, I thought; the
application doesn’t veer far from the standard APIs and controls, and it is a
relatively straightforward application, implementation-wise.

As I was making my updates (some minor method and property
name changes here and there), I stumbled upon a show stopper: The NSXMLParser
was no longer parsing my XML data. After scratching my head for a few hours, I
finally figured out the problem.

Continue reading “Feel My Pain: NSXMLParser Problems Upgrading to the iPhone 3.0 SDK”

Scrum is like 20th Century Politics (Part 2 of 3)

Part 1

Having toiled for years under the yoke of a brutal waterfallocracy, one bitter developer learns of management’s decision to adopt scrum and sees…a revolution.

Born is the Marxist, leader and friend to the common bit farmer.

The revolutionary swoons at scrum’s commitment to the “self-organizing team”. He visualizes an enervated bourgeois middle management, an empowered development base that directs company affairs, and an opportunity to play video games at work.

Continue reading “Scrum is like 20th Century Politics (Part 2 of 3)”

Think Services Turns to Grio to Enhance its Flagship Products

Grio proudly announced the signing of its consulting agreement with Think Services, a division of United Business Media. As part of this collaboration, Grio will assist by designing and introducing an agile software development methodology that fits Think Services' needs. In addition, Grio will be a key player in helping to build the company's next generation of products.
Close Bitnami banner
Bitnami