DarthVader
DarthVader

Reputation: 55032

Flex Changing DataGrid Highlight Color

How can i change the color, when the user mouse over an item on datagrid or tilelist. Basically once the user mouse overs and once the user selects a file. How to change the default color to something else.

The default is blue and i dont like it :)

Thanks.

Upvotes: 0

Views: 2426

Answers (3)

leviathan
leviathan

Reputation: 11161

If you're using CSS to layout your Flex components you might want to have a lock at the Flex 3 Style Explorer. You can setup your layout for specific components and directly export the CSS code either to your external stylesheet or your tags within your mxml code. Hope this helps.

Upvotes: 0

Fseee
Fseee

Reputation: 2631

The most powerful tool to manage about graphics effects, color and much more is Flex Style Explorer, which is useful to create .css style sheets for you own Flex/Air application. You can export the .css properties into your Flex project, create yourStyleSheet.css, put it into src folder and than call the file by the following statement:

<mx:Application ... />
<mx:Style source="yourStyleSheet.css" />

Upvotes: 2

invertedSpear
invertedSpear

Reputation: 11054

You need to change the styles for those items, the setting is rollOverColor. If you added those controls through mxml you can just add those as attributes.

Upvotes: 0

Related Questions