skin.flat

webix.skin.flat

webix.skin.flat 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
38
39
40
41
42
43
webix.skin.flat = {
    topLayout:"space",
    //bar in accordion
    barHeight:46,            //!!!Set the same in skin.less!!!
    tabbarHeight: 46,
    rowHeight:34,
    toolbarHeight:46,
    listItemHeight:34,        //list, grouplist, dataview, etc.
    inputHeight: 38,
    buttonHeight: 38,
    inputPadding: 3,
    menuHeight: 34,
    labelTopHeight: 22,
    propertyItemHeight: 28,

    inputSpacing: 4,
    borderWidth: 1,

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

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

    customCheckbox: true,
    customRadio: true,

    popupPadding: 8,

    calendarHeight: 70,
    padding:0,
    accordionType: "accordion",

    optionHeight: 32
};