I need a bit of help finishing off this patch:
The fact that <select multiple="multiple"> form controls are too small to draw scrollbars at their default size has been bugging me, so I've put together a very small patch (diff file attached) for mozilla/widget/src/cocoa/nsNativeScrollbar.mm that ALMOST takes care of the problem. What it does is set any items within a page that need scrollbars (including multiple selects) to use small scrollbars instead of the full-sized ones. The small scrollbars display on controls smaller than the large ones do, which means that default-sized multiple selects are scrollable (I also think the small scrollbars are more attractive than the large ones for other page elements, but that's subjective, I'm sure).
The patch compiles and runs fine for me, with one, er, small problem: the mParentWidget->GetParent() call causes the browser to crash with a SIGSEGV fault when a page is reloaded (I've been using http://bugzilla.mozilla.org/query.cgi as a testcase). Since this seems to be an accessor method, I can't understand how calling it should cause a crash (and I'm not yet familiar enough with the codebase to be able to easily track it down).
Can anyone please help me figure this out?
Thanks! -Noemi
nsNativeScrollbar.mm.diff
Description: application/text_______________________________________________ Camino mailing list [EMAIL PROTECTED] http://mozdev.org/mailman/listinfo/camino
