checkboxes: allow for squared style
This commit is contained in:
parent
0b7beec62d
commit
53bc6e9e56
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,7 @@ Ox.Checkbox = function(options, self) {
|
|||
label: '',
|
||||
labelWidth: 64,
|
||||
overlap: 'none',
|
||||
style: 'rounded',
|
||||
title: '',
|
||||
value: false,
|
||||
width: options && (options.label || options.title) ? 'auto' : 16
|
||||
|
@ -70,6 +71,7 @@ Ox.Checkbox = function(options, self) {
|
|||
disabled: self.options.disabled,
|
||||
id: self.options.id + 'Label',
|
||||
overlap: 'left',
|
||||
style: self.options.style,
|
||||
title: self.options.title,
|
||||
width: getTitleWidth()
|
||||
})
|
||||
|
@ -92,6 +94,7 @@ Ox.Checkbox = function(options, self) {
|
|||
self.$button = Ox.Button({
|
||||
disabled: self.options.disabled,
|
||||
id: self.options.id + 'Button',
|
||||
style: self.options.style,
|
||||
type: 'image',
|
||||
value: self.options.value ? 'check' : 'none',
|
||||
values: ['none', 'check']
|
||||
|
|
Loading…
Reference in a new issue