text: function addWidgetsfrmButton() {
      var hbxButtons = new kony.ui.Box({
          "id": "hbxButtons",
          "isVisible": true,
          "orientation": constants.BOX_LAYOUT_HORIZONTAL,
          "position": constants.BOX_POSITION_AS_NORMAL
      }, {
          "containerWeight": 100,
          "layoutAlignment": constants.BOX_LAYOUT_ALIGN_FROM_LEFT,
          "layoutType": constants.CONTAINER_LAYOUT_BOX,
          "margin": [0, 0, 0, 0],
          "marginInPixel": false,
          "padding": [1, 1, 1, 1],
          "paddingInPixel": false,
          "percent": true,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_TOP_LEFT
      }, {});
      var vbox192926642422365 = new kony.ui.Box({
          "id": "vbox192926642422365",
          "isVisible": true,
          "orientation": constants.BOX_LAYOUT_VERTICAL,
          "position": constants.BOX_POSITION_AS_NORMAL
      }, {
          "containerWeight": 100,
          "layoutType": constants.CONTAINER_LAYOUT_BOX,
          "margin": [0, 0, 0, 0],
          "marginInPixel": false,
          "padding": [1, 1, 1, 1],
          "paddingInPixel": false,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_TOP_LEFT
      }, {});
      var button1041822331655 = new kony.ui.Button({
          "focusSkin": "btnFocus",
          "id": "button1041822331655",
          "isVisible": true,
          "skin": "btnNormal",
          "text": "Default button"
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_CENTER,
          "displayText": true,
          "hExpand": true,
          "margin": [2, 2, 2, 2],
          "marginInPixel": false,
          "padding": [0, 1, 0, 1],
          "paddingInPixel": false,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {});
      var button1210492603906 = new kony.ui.Button({
          "focusSkin": "btnRoundFocus",
          "id": "button1210492603906",
          "isVisible": true,
          "skin": "btnRound",
          "text": "Button with rounded corner"
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_CENTER,
          "displayText": true,
          "hExpand": true,
          "margin": [2, 2, 2, 2],
          "marginInPixel": false,
          "padding": [0, 1, 0, 1],
          "paddingInPixel": false,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {});
      var button1210492603962 = new kony.ui.Button({
          "focusSkin": "btnSingleColorFocus",
          "id": "button1210492603962",
          "isVisible": true,
          "skin": "btnOrange",
          "text": "Button with single color"
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_CENTER,
          "displayText": true,
          "hExpand": true,
          "margin": [2, 2, 2, 2],
          "marginInPixel": false,
          "padding": [0, 1, 0, 1],
          "paddingInPixel": false,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {});
      var button1210492603899 = new kony.ui.Button({
          "focusSkin": "btnGradFocus",
          "id": "button1210492603899",
          "isVisible": true,
          "skin": "btnGrad",
          "text": "Button with vertical gradient"
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_CENTER,
          "displayText": true,
          "hExpand": true,
          "margin": [2, 2, 2, 2],
          "marginInPixel": false,
          "padding": [0, 1, 0, 1],
          "paddingInPixel": false,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {});
      var button117989725223628 = new kony.ui.Button({
          "focusSkin": "btnVertiFocus",
          "id": "button117989725223628",
          "isVisible": true,
          "skin": "btnVertiSplit",
          "text": "Button with vertical spilt"
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_CENTER,
          "displayText": true,
          "hExpand": true,
          "margin": [2, 2, 2, 2],
          "marginInPixel": false,
          "padding": [0, 1, 0, 1],
          "paddingInPixel": false,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {});
      var button1181029310128114 = new kony.ui.Button({
          "focusSkin": "btnBorder1Focus",
          "id": "button1181029310128114",
          "isVisible": true,
          "skin": "btnBorder1",
          "text": "Button with Border:1 "
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_CENTER,
          "displayText": true,
          "hExpand": true,
          "margin": [2, 2, 2, 2],
          "marginInPixel": false,
          "padding": [0, 1, 0, 1],
          "paddingInPixel": false,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {});
      var button1181029310128128 = new kony.ui.Button({
          "focusSkin": "btnBorder2Focus",
          "id": "button1181029310128128",
          "isVisible": true,
          "skin": "btnBorder2",
          "text": "Button with Border:2"
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_CENTER,
          "displayText": true,
          "hExpand": true,
          "margin": [2, 2, 2, 2],
          "marginInPixel": false,
          "padding": [0, 1, 0, 1],
          "paddingInPixel": false,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {});
      var button1181029310128142 = new kony.ui.Button({
          "focusSkin": "btnBorder5Focus",
          "id": "button1181029310128142",
          "isVisible": true,
          "skin": "btnBorder5",
          "text": "Button with Border:5"
      }, {
          "containerWeight": 100,
          "contentAlignment": constants.CONTENT_ALIGN_CENTER,
          "displayText": true,
          "hExpand": true,
          "margin": [2, 2, 2, 2],
          "marginInPixel": false,
          "padding": [0, 1, 0, 1],
          "paddingInPixel": false,
          "vExpand": false,
          "widgetAlignment": constants.WIDGET_ALIGN_CENTER
      }, {});
      vbox192926642422365.add(button1041822331655, button1210492603906, button1210492603962, button1210492603899, button117989725223628, button1181029310128114, button1181029310128128, button1181029310128142);
      hbxButtons.add(vbox192926642422365);
      frmButton.add(hbxButtons);
  };
  
  function frmButtonGlobals() {
      frmButton = new kony.ui.Form2({
          "addWidgets": addWidgetsfrmButton,
          "enabledForIdleTimeout": false,
          "id": "frmButton",
          "needAppMenu": true,
          "skin": "frm"
      }, {
          "displayOrientation": constants.FORM_DISPLAY_ORIENTATION_PORTRAIT,
          "layoutType": constants.CONTAINER_LAYOUT_BOX,
          "padding": [0, 0, 0, 0],
          "paddingInPixel": false
      }, {
          "animateHeaderFooter": false,
          "directChildrenIDs": ["button1041822331655", "button117989725223628", "button1181029310124158", "button1181029310128114", "button1181029310128128", "button1181029310128142", "button1210492603899", "button1210492603906", "button1210492603962", "button192735980024688", "hbxButtons", "vbox192926642422365"],
          "inTransitionConfig": {
              "formTransition": "None"
          },
          "maxAppMenuButtons": 4,
          "outTransitionConfig": {
              "formTransition": "None"
          },
          "retainScrollPosition": false,
          "titleBar": true
      });
      frmButton.info = {
          "kuid": "p2kwiet12889314953615"
      };
  };