Preventing scrollbars appearing when font size changes
hi,
i have panel container (relative layout height/width specified) containing text has font size determined @ runtime external stylesheet. in application, user has option change font size (ie. load separate external stylesheet). problem is, whenever larger font sizes chosen, horizontal , vertical scroll bars keep appearing within panel container. not want @ all, want panel resize!
i've tried everything, including:
- calling "validatenow()" when font size changes
- launching resize event when font size changes
- overriding updatedisplaylist method of panel , trying set height , width newly measured height , width.
none seem effective. if panel not able calculate new size when font size changes.
any appreciated.
thanks.
hi,
with mx panel can set verticalscrollpolicy="off" horizontalscrollpolicy=""off",
david.
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment