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

@ -53,6 +53,9 @@ Ox.Select = function(options, self) {
// fixme: make default selection restorable
.options(options)
.update({
label: function() {
self.$label.options({title: self.options.label});
},
labelWidth: function() {
self.$label.options({width: self.options.labelWidth});
self.$title.css({width: getTitleWidth() + 'px'});