update DocPage and ExamplePage

This commit is contained in:
rolux 2012-04-15 20:15:14 +02:00
parent f5f1fde6a9
commit 0a999bc4f3
2 changed files with 4 additions and 3 deletions

View file

@ -26,9 +26,10 @@ Ox.DocPage = function(options, self) {
self.$title = Ox.Label({ self.$title = Ox.Label({
style: 'square', style: 'square',
title: 'Documentation: ' + self.options.item.name title: self.options.item.name
}) })
.css({float: 'left', margin: '4px'}) .addClass('OxMonospace')
.css({float: 'left', height: '13px', paddingTop: '1px', margin: '4px'})
.appendTo(self.$toolbar) .appendTo(self.$toolbar)
self.$examplesMenu = Ox.MenuButton({ self.$examplesMenu = Ox.MenuButton({

View file

@ -18,7 +18,7 @@ Ox.ExamplePage = function(options, self) {
self.$title = Ox.Label({ self.$title = Ox.Label({
style: 'square', style: 'square',
title: 'Examples: ' + self.options.title title: self.options.title
}) })
.css({float: 'left', margin: '4px'}) .css({float: 'left', margin: '4px'})
.appendTo(self.$toolbar) .appendTo(self.$toolbar)