1
0
Fork 0
forked from 0x2620/oxjs

some more support for squared style

This commit is contained in:
rlx 2016-01-12 11:11:08 +05:30
commit 32252a1dfd
7 changed files with 24 additions and 5 deletions

View file

@ -22,6 +22,7 @@ Ox.TabPanel = function(options, self) {
.defaults({
content: null,
size: 24,
style: 'default',
tabs: []
})
.options(options || {})
@ -40,6 +41,7 @@ Ox.TabPanel = function(options, self) {
buttons: self.options.tabs,
id: 'tabs',
selectable: true,
style: self.options.style,
value: self.selected
})
.css({top: (self.options.size - 16) / 2 + 'px'})