minor changes to ExamplePage
This commit is contained in:
parent
5c727a1687
commit
08a64d8695
1 changed files with 6 additions and 3 deletions
|
@ -16,7 +16,8 @@ Ox.ExamplePage = function(options, self) {
|
||||||
self.$toolbar = Ox.Bar({size: 24});
|
self.$toolbar = Ox.Bar({size: 24});
|
||||||
|
|
||||||
self.$title = Ox.Label({
|
self.$title = Ox.Label({
|
||||||
title: self.options.title
|
style: 'square',
|
||||||
|
title: 'Examples: ' + self.options.title
|
||||||
})
|
})
|
||||||
.css({float: 'left', margin: '4px'})
|
.css({float: 'left', margin: '4px'})
|
||||||
.appendTo(self.$toolbar)
|
.appendTo(self.$toolbar)
|
||||||
|
@ -51,7 +52,7 @@ Ox.ExamplePage = function(options, self) {
|
||||||
selectable: true,
|
selectable: true,
|
||||||
value: self.options.selected
|
value: self.options.selected
|
||||||
})
|
})
|
||||||
.css({float: 'right', margin: '4px 2px 4px 4px'})
|
.css({float: 'right', margin: '4px 2px 4px 2px'})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
change: function(data) {
|
change: function(data) {
|
||||||
self.options.selected = data.value;
|
self.options.selected = data.value;
|
||||||
|
@ -72,8 +73,10 @@ Ox.ExamplePage = function(options, self) {
|
||||||
items: self.options.keywords.map(function(keyword) {
|
items: self.options.keywords.map(function(keyword) {
|
||||||
return {id: keyword, title: keyword};
|
return {id: keyword, title: keyword};
|
||||||
}),
|
}),
|
||||||
|
//title: 'Documentation',
|
||||||
|
//width: 128
|
||||||
title: 'select',
|
title: 'select',
|
||||||
tooltip: 'Documentation',
|
tooltip: 'References',
|
||||||
type: 'image'
|
type: 'image'
|
||||||
})
|
})
|
||||||
.css({float: 'right', margin: '4px 2px 4px 2px'})
|
.css({float: 'right', margin: '4px 2px 4px 2px'})
|
||||||
|
|
Loading…
Reference in a new issue