View Full Version : Horizontal Scrollbar auto in component list
kenji_dreamer
07-18-2008, 08:24 AM
Is there a way that the horizontal bar in component list can be automatic? Like the vertical scrollbar it will show when the Height of the component is not enough to show all the items.. Thanks
kenji_dreamer
07-18-2008, 11:23 AM
Is there a way that the horizontal bar in component list can be automatic? Like the vertical scrollbar it will show when the Height of the component is not enough to show all the items.. Thanks
Sorry.. double post.
Ninna76
07-19-2008, 01:18 PM
From Flash Help:
DataGrid.hScrollPolicy: Specifies whether the data grid has a horizontal scroll bar. This property can have the value "on", "off", or "auto". The default value is "off". If hScrollPolicy is set to "off", columns scale proportionally to accommodate the finite width.
my_dg.hScrollPolicy = "on";
NOTE This differs from the List component, which cannot have hScrollPolicy set to "auto".
hth,
Ninna
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.