skin.metro

webix.skin.metro

webix.skin.metro helper.

Please look into the linked official documentation.

External references

Official documentation page.

Code

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
webix.skin.metro = {
    topLayout:"space",
    //bar in accordion
    barHeight:36,            //!!!Set the same in skin.less!!!
    tabbarHeight: 46,
    rowHeight:34,
    toolbarHeight:36,
    listItemHeight:32,        //list, grouplist, dataview, etc.
    inputHeight:30,
    buttonHeight: 45,
    inputPadding: 2,
    menuHeight: 36,
    labelTopHeight: 16,

    inputSpacing: 4,
    borderWidth: 1,

    sliderHandleWidth: 16,
    sliderPadding: 10,
    sliderBorder: 1,

    //margin - distance between cells
    layoutMargin:{ space:10, wide:4, clean:0, head:4, line:-1, toolbar:4, form:8, accordion: 9  },
    //padding - distance insede cell between cell border and cell content
    layoutPadding:{ space:10, wide:0, clean:0, head:0, line:0, toolbar:0, form:8, accordion: 0  },
    //space between tabs in tabbar
    tabMargin:2,
    tabOffset:0,
    tabBottomOffset: 10,

    popupPadding: 8,

    calendarHeight: 70,
    padding:0,

    optionHeight: 23
};