Ox.MenuButton: add 'overlap' option

This commit is contained in:
rolux 2012-12-18 22:47:57 +01:00
parent 7ff601a0a4
commit 716db744b9

View file

@ -33,6 +33,7 @@ Ox.MenuButton = function(options, self) {
id: '',
items: [],
maxWidth: 0,
overlap: 'none',
style: 'rounded',
title: '',
type: 'text',
@ -72,6 +73,7 @@ Ox.MenuButton = function(options, self) {
self.$button = Ox.Button({
id: self.options.id + 'Button',
overlap: self.options.overlap,
style: 'symbol',
title: self.options.type == 'text' || !self.options.title
? 'select' : self.options.title,