1
0
Fork 0
forked from 0x2620/oxjs

handle update of label option

This commit is contained in:
rolux 2014-02-16 07:06:48 +00:00
commit 15444fe5a9
4 changed files with 11 additions and 0 deletions

View file

@ -122,6 +122,8 @@ Ox.Input = function(options, self) {
} else if (key == 'height') {
that.css({height: value + 'px'});
self.$input.css({height: value - 6 + 'px'});
} else if (key == 'label') {
self.$label.options({title: value});
} else if (key == 'labelWidth') {
self.$label.options({width: value});
inputWidth = getInputWidth();