From 716db744b9e92d5b400f063b5ae444e65a7e24f5 Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 18 Dec 2012 22:47:57 +0100 Subject: [PATCH] Ox.MenuButton: add 'overlap' option --- source/Ox.UI/js/Menu/MenuButton.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/Ox.UI/js/Menu/MenuButton.js b/source/Ox.UI/js/Menu/MenuButton.js index 1cd3111d..f2ce0a2e 100644 --- a/source/Ox.UI/js/Menu/MenuButton.js +++ b/source/Ox.UI/js/Menu/MenuButton.js @@ -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,