Hi,
In default.css I saw there are selectors for changing the scrollbar style of both mx and spark controls.
This not only applies to FlexViewer but also all custom widgets that are added to the FlexViewer project.
But what if I design a new custom widget and I don't want the s|VScrollBar, mx|VScrollBar, s|HScrollBar and mx|ScrollBar selectors to apply to my widget. I want to use default looking scrollbars AND I can't change anything in default.css.
For spark controls a workaround is having another CSS file for this widget and re-apply the default skin on it, using something like this:
But I'm not sure this is the best strategy, and I have no workaround for mx controls.
Any idea?
Thanks
In default.css I saw there are selectors for changing the scrollbar style of both mx and spark controls.
This not only applies to FlexViewer but also all custom widgets that are added to the FlexViewer project.
But what if I design a new custom widget and I don't want the s|VScrollBar, mx|VScrollBar, s|HScrollBar and mx|ScrollBar selectors to apply to my widget. I want to use default looking scrollbars AND I can't change anything in default.css.
For spark controls a workaround is having another CSS file for this widget and re-apply the default skin on it, using something like this:
Code:
s|VScrollBar
{
skinClass: ClassReference("spark.skins.spark.VScrollBarSkin");
}
Any idea?
Thanks