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

@ -94,7 +94,7 @@ Ox.Checkbox = function(options, self) {
self.$button = Ox.Button({
disabled: self.options.disabled,
id: self.options.id + 'Button',
style: self.options.style,
style: self.options.style != 'rounded' ? self.options.style : '',
type: 'image',
value: self.options.value ? 'check' : 'none',
values: ['none', 'check']