Peter Spotts wrote:
On Wed, 2008-03-05 at 16:01 -0500, Etan Reisner wrote:On Wed, Mar 05, 2008 at 04:01:42PM -0500, Peter Spotts wrote:Although I have no dog in this hunt, I see folks' point. As a workaround, can someone offer up the right line in the right source-code file to change 4 to 10 (or whatever). Then one could just edit the line and recompile!PeteAnthony Catel did exactly that in the second post to the 'Please change the 2.4.0 input field's resize behaviour' thread. -EtanSince I'm not a code kind of guy (with all those nested parens), double check me on the change here: From: /* Show a maximum of 4 lines */ lines = MIN(lines, 4); wrapped_lines = MIN(MAX(wrapped_lines, 2), 4); To: /* Show a maximum of 4 lines */ lines = MIN(lines, 4); wrapped_lines = MIN(MAX(wrapped_lines, 10), 4);
This change would ensure that the input area is fixed at 4 lines always, because it would resolve so MAX(?, 10) always resolves to 10 or higher and thus MIN(10+, 4) would always resolve to 4. The 2 in the original code represents the minimum size and the 4 represents the maximum size to expand to.
Kevin
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Support mailing list [email protected] http://pidgin.im/cgi-bin/mailman/listinfo/support
