Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Using CSS instead of multiple icons for states

    This is really a high level question. We have been using SmartGWT for a while and have used the logic it contains to handle various states of icons (over, down, disabled, etc). As someone new coming into this technology, it seems it would be easier to use CSS's to handle all of these states and avoid having to create multiple versions for each icon. Is this possible using SmartGWT or is the use of the current states so hard coded into this framework that the use of CSS to handle this would not be practical?

    #2
    It can you can its called skinning. You can have a base style like "myStyle" and create all the different states "myStyleOver", etc.. and just set the basestyle of a widget to myStyle. This is how SmartGWT works for its different skins.

    Comment

    Working...
    X