1 Reply Latest reply on Apr 28, 2016 2:20 AM by carlesc RSS
    lwei Explorer

    Modifying Logout Button widget

    Hi everyone,

     

    I have tried to modify the logoutbutton widget.

    Apparently, the original one can't change the 'height' property.

    So, I copy some parts of the button widget's code.

    But it seems that logoutbutton can't appear in runtime.

     

    'Height': {

                        'description': 'height of widget',

                        'baseType': 'NUMBER',

                        'defaultValue': 30,

                       // 'isEditable': false

         }

     

    I've changed the height property, and it seems that runtime.js is mostly same as the button widget.

     

    Lee