skin.glamour

webix.skin.glamour

webix.skin.glamour 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.glamour = {
    topLayout:"space",
    //bar in accordion
    barHeight:39,            //!!!Set the same in skin.less!!!
    tabbarHeight: 39,
    rowHeight:32,
    toolbarHeight:39,
    listItemHeight:32,        //list, grouplist, dataview, etc.
    inputHeight:34,
    buttonHeight: 34,
    inputPadding: 3,
    menuHeight: 36,
    labelTopHeight: 16,

    inputSpacing: 4,
    borderWidth: 1,

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

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

    popupPadding: 8,

    calendarHeight: 70,
    padding:0,

    optionHeight: 27
};