skin.compact¶
webix.skin.
compact
¶webix.skin.compact helper.
Please look into the linked official documentation.
External references¶
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 | webix.skin.compact = {
topLayout:"space",
//bar in accordion
barHeight:34, //!!!Set the same in skin.less!!!
tabbarHeight: 34,
rowHeight:24,
toolbarHeight:34,
listItemHeight:28, //list, grouplist, dataview, etc.
inputHeight: 30,
buttonHeight: 30,
inputPadding: 3,
menuHeight: 28,
labelTopHeight: 16,
inputSpacing: 4,
borderWidth: 1,
sliderHandleWidth: 16,
sliderPadding: 10,
sliderBorder: 1,
//margin - distance between cells
layoutMargin:{ space:5, wide:5, clean:0, head:4, line:-1, toolbar:4, form:4, accordion: 5 },
//padding - distance insede cell between cell border and cell content
layoutPadding:{ space:5, wide:0, clean:0, head:0, line:0, toolbar:2, form:12, accordion: 0 },
//space between tabs in tabbar
tabMargin:3,
tabOffset: 0,
tabBottomOffset: 3,
tabTopOffset:1,
customCheckbox: true,
customRadio: true,
popupPadding: 8,
calendarHeight: 70,
padding:0,
accordionType: "accordion",
optionHeight: 23
};
|