PDA

View Full Version : Toolbar split button/menu arrow not behaving



fecund
7 Mar 2007, 6:37 PM
I'm using a toolbar split button/menu and the triangle is too high when not being used, goes down to proper place on mouseover.

It does the same with the default theme and the vista theme, haven't tried other themes. Screenshots are from firefox with firebug, though it does the same in IE7.

http://img138.imageshack.us/img138/6503/exttoohighvc3.gif
during rollover it's OK
http://img501.imageshack.us/img501/167/extrightbq3.gif
here's how firebug shows the css in rollover:
http://img138.imageshack.us/img138/1959/exthoveringuk0.gif
and plain (with the arrow too high):
http://img138.imageshack.us/img138/7517/extplaindb9.gif

Creating it with:


new Ext.Toolbar.MenuButton(
text : 'Questionnaire',
menu : {items: [ ... etc ... ]},
handler : my_handler,
enableToggle : true,
pressed : false,
toggleGroup : 'navigation');

is this a bug, or have I done something wrong?

fecund
7 Mar 2007, 9:26 PM
So there's one fewer bug in a2r6 ext-all.css
line 599+ should say

.x-toolbar .x-btn-menu-arrow-wrap .x-btn-center button {
background:transparent url(../images/default/toolbar/btn-arrow.gif) no-repeat 0 3px;
width:12px;
}

fecund
8 Mar 2007, 8:55 PM
problem still in a3r2, now at line 738 of ext-all.css

jack.slocum
8 Mar 2007, 10:55 PM
Thank you for pointing me to this. Next time can you post in Alpha if it is Alpha related?

Thanks!