AnsweredAssumed Answered

Setting height/width of Custom On Screen Widget

Question asked by sfisher on Dec 3, 2014
Latest reply on Dec 5, 2014 by sfisher

What's the easiest way to set the height/width of a on screen widget?  Is it suppose to work via config or do I need to alter in CSS or JavaScript?

 

I thought it would be in the config or manifest like this below, but it doesn't seem to be working for me.

 

    "properties": {

        "inPanel": true,

        "hasLocale": true,

        "hasStyle": true,

        "hasConfig": true,

        "hasUIFile": true,

        "hasSettingPage": false,

        "hasSettingUIFile": false,

        "hasSettingLocale": false,

        "hasSettingStyle": false,

        "IsController": false,

        "openAtStart": true,

    "positionRelativeTo": "map",

      "position": {

        "left": 0,

        "top": 0,

        "right": 0,

        "bottom": 30,

        "width": 400,

        "height": 650

      },"openAtStart": true

    }

Outcomes