I'm pretty sure that your problem with Button labels is not because of
a font change, but, rather, a change in our default Button. In Flex 2,
the styles paddingLeft, paddingRight, paddingTop and paddingBottom
didn't work. So, Button had some hacky code to figure out how much
spacing there was around Button labels. Depending on your label, the
space around the label varied. In Flex 3, these padding styles now
work and the default for paddingRight and paddingLeft is 10 pixels. As
a result, for Buttons that had less space on the left and right of the
label, the labels became truncated when migrating to Flex 3. 

To fix this problem, you can change the styles of your Button to use a
smaller value for paddingLeft and paddingRight. I wrote a bit about
this migration issue here:

http://butterfliesandbugs.wordpress.com/2008/03/04/understanding-flex-3-migration-issues-part-i/

Unrelated to these Button changes, we also updated the font engine
used by our compiler. However, this change only changed fonts by a few
pixels and should not have affected the components and their size very
much. Internally, on our QA team, we had hundreds of bitmap test
failures when we did this change, but, the font differences were all
very minor (just a few pixels here and there)

Joan
--- In [email protected], [EMAIL PROTECTED] wrote:
>
> On Thu, Mar 20, 2008 at 05:57:35PM -0000, dougco2000 wrote:
> 
> > I switched to Flex3 the other day and found that the font sizing for
> > the default font has changed! So on most of my applications where I
> > painstakingly sized buttons so that they exactly fit the text label, I
> > know see the text does NOT FIT anymore and has "..." at the end!
> 
> Same thing here, text wouldn't fit buttons, bottom of windows were
cutting off controls, controls that were previously horizontally
aligned were no 
> longer in line, listboxes without default selections that previously
returned 0 as the selected index returned -1 in Flex 3.  We went
through all the 
> apps and adjusted everything, it was far from a drop-in-place
upgrade for us and we don't really have any complicated code or layouts.
> 
> 
> Jeff
>


Reply via email to