Announcement

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

    hoverStyle doesn't work on DynamicForm

    Code:
    isc.DynamicForm.create({
        ID: "exampleForm",backgroundColor: "blue",
    canHover:true,width: 250,height: 200,
    prompt: "TEST",hoverStyle: "myHighGridCellDark",
        fields: []
    });

    CSS:

    Code:
    .myHighGridCellDark {
        background-color:"red";
    }

    #2
    The hoverStyle actually applies just to hovers generated via the *hoverHTML() APIs. The prompt is a native hover (ALT attribute) and can be styled via standard CSS for styling hovers (:hover) where supported.

    Comment


      #3
      Oh...but it works for vlayout?

      How then do I re-style the prompt text?

      Comment


        #4
        Is this what you mean? If so, it still does not work.

        Code:
        isc.DynamicForm.create({
            ID: "exampleForm",backgroundColor: "blue",
        canHover:true,width: 250,height: 200,showHover: true,
        getHoverHTML: function(){return isc.Label.create({contents:"TEST"});},hoverStyle: "myHighGridCell",
            fields: [
            ]
        });

        Comment


          #5
          Thanks for the report - we've fixed this one, please take a look at the next nightly

          Comment


            #6
            Fixed - thanks

            Comment

            Working...
            X