forked from 0x2620/oxjs
handle update of label option
This commit is contained in:
parent
3232762576
commit
15444fe5a9
4 changed files with 11 additions and 0 deletions
|
|
@ -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'});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue