2009-09-24

Flex - Button label truncation problem

I recently had trouble with Flex truncating the label on some but...




It was a particularly aggravating affair, playing with the padding and the width which had no apparent effect. After hours of searching the net and finding nary a shred I discovered that there was a simple fix.




Simply changing the label placement property of the button to 'bottom' had the desired effect rendering the label correctly.




Ahhhhh, much better.

4 comments:

  1. You are awesome for posting this.
    One less component to extend to fix a small looking problem.

    Thanks!

    ReplyDelete
  2. Thanks for sharing this. I'm wondering why I just hadn't discovered it before. It's so obvious solution ;) Damn flex :p

    ReplyDelete
  3. Thanks, you bailed me out on this. I'd been spending 2 hours trying to fix this stupid bug.

    I thought I had tried every property. I missed this one.

    Thanks.

    ReplyDelete
  4. Good job, man!!!:)

    ReplyDelete