From 3c3a6ea220dffe927a77a8e24bf759b7c93d2faf Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 26 Mar 2013 13:36:24 +0000 Subject: [PATCH] fix FileButton flow so it can be used as a dialog button --- source/Ox.UI/js/Form/FileButton.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Form/FileButton.js b/source/Ox.UI/js/Form/FileButton.js index 4720acdb..d972c086 100644 --- a/source/Ox.UI/js/Form/FileButton.js +++ b/source/Ox.UI/js/Form/FileButton.js @@ -40,7 +40,7 @@ Ox.FileButton = function(options, self) { } }) .addClass('OxFileButton') - .css({width: self.options.width + 'px'}); + .css({overflow: 'hidden'}); self.files = []; self.multiple = self.options.maxFiles != 1;