forked from 0x2620/oxjs
some more support for squared style
This commit is contained in:
parent
53bc6e9e56
commit
32252a1dfd
7 changed files with 24 additions and 5 deletions
|
|
@ -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'})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue