-
24 Jul 2007 4:22 PM #1
Disabled Button Styling
Disabled Button Styling
The appearance of of the disabled buttons differs between IE and Firefox. See attached image.
Ext version: 1.1RC1
Internet Explorer Version 6.0.2900
Firefox Version 2.0.4
Is it possible to make them the same by default? Also the operation of the buttons in disabled state differs between IE and Firefox. In IE the button is clickable and the text selectable but in Firefox it is not.
I'm not so concerned about this last bit but the button text is very hard to read when disabled in IE.
Thanks,
Simon
-
10 Jan 2008 1:04 PM #2
Is there any resolution to this issue? I feel like the disabled style in IE is a bug -- it looks wonky, especially according to our users.
-
10 Jan 2008 1:10 PM #3
-
10 Jan 2008 1:13 PM #4
-
10 Jan 2008 1:14 PM #5
Is this still an issue with 1.1.1?
Tim Ryan
Read BEFORE posting a question / BEFORE posting a Bug
Use Google to Search - API / Forum
API Doc (4.x | 3.x | 2.x | 1.x) / FAQ / 1.x->2.x Migration Guide / 2.x->3.x Migration Guide
-
10 Jan 2008 1:17 PM #6
-
10 Jan 2008 1:35 PM #7
Is that a Toolbar button? I don't see this problem with regular buttons. Can you post a small example.
Tim Ryan
Read BEFORE posting a question / BEFORE posting a Bug
Use Google to Search - API / Forum
API Doc (4.x | 3.x | 2.x | 1.x) / FAQ / 1.x->2.x Migration Guide / 2.x->3.x Migration Guide
-
10 Jan 2008 1:58 PM #8
If I download Ext 1.1.1, and then edit:
ext-1.1.1/examples/menu/menus.js as such:
to this...Code:tb.add({ cls: 'x-btn-text-icon bmenu', // icon and text class text:'Button w/ Menu', menu: menu // assign menu by instance },
and then view it in IE, the bug exists.Code:tb.add({ cls: 'x-btn-text-icon bmenu', // icon and text class text:'Button w/ Menu', disabled: true, menu: menu // assign menu by instance },
-
10 Jan 2008 2:06 PM #9
I don't see that issue when making that change or with 'Disabled Item' further down in that menu. It looks the same in both IE6 and FF. Are you sure you don't have some other CSS causing a problem?
Tim Ryan
Read BEFORE posting a question / BEFORE posting a Bug
Use Google to Search - API / Forum
API Doc (4.x | 3.x | 2.x | 1.x) / FAQ / 1.x->2.x Migration Guide / 2.x->3.x Migration Guide
-
10 Jan 2008 2:15 PM #10
I don't understand how I could have any other CSS interfering as I changed 1 line in the example code--which was freshly downloaded. In development we do modify your css slightly, so I purposely grabbed a clean version of ext 1.1.1.
The URL above references the fact that clear type must be enabled in order for this bug to occur. Do you have clear type enabled?
BTW, I'm using IE 6, SP2.
Looking through ext-all.css, I only see 1 style related to *disabled* that has a background color, which isn't relevant to toolbars.
So I don't know how the bug could be fixed in ext 1.1.1 unless you know of another way to fix the bug.Code:.x-scroller-btn-disabled{cursor:default;background-color:#c3daf9;-moz-opacity:0.3;opacity:.30;filter:alpha(opacity=30);}


Reply With Quote