Announcement

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

    base styling

    I have a few menus I would like to use a "basestyle" then I would like to specify a specific style for each menu. My reasoning being that I want to specify in the baseStyle properties such as font-style - any properties that are shared with these menus. In the specific styles, I would to have properties such as icons. How do I go about achieving this? I tried setting baseStyle and styleName but it always takes the baseStyle.

    isc.Label.create({top:500,
    baseStyle: "myHighGridCell",
    styleName: "myGridCell2",
    contents: "TESTING"
    })

    #2
    baseStyle + styleName don't interact the way you're hoping. You can use CSS declarations to avoid repeating common properties - see the style used in the framework's skin_styles.css for the "button" style series for example.

    Comment

    Working...
    X