You are here:  » widget_textBox - set width

Support Forum



widget_textBox - set width

Submitted by turner_pg on Mon, 2008-12-01 12:22 in

How do I set the width of a widget_textBox textbox. The default seems to be 200 which isn't big enough for the text box I want to use.

Submitted by support on Mon, 2008-12-01 14:32

Hi,

The code itself is generated by line 7 in includes/widget.php which doesn't specify a width; so you could always add a fixed width at that point; for example for 300px simply change that line to:

print "<input type='text' name='".$name."' value='".$default."' style='width:300px;' />";

Cheers,
David.