Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: TropicalMonkey on April 09, 2008, 04:02:11 PM

Title: How to make input text box (text area?) bigger (solved)
Post by: TropicalMonkey on April 09, 2008, 04:02:11 PM
I just installed 2.0B3 for testing purpose. I would like make the text box where we type in the message (both wysiwyg as well as the regular one) bigger. Is there a way to achieve this?

Thanks
Title: Re: How to make input text box (text area?) bigger
Post by: slinouille on April 10, 2008, 10:06:16 AM
Hello,

Just open file Subs.Editor.php.

Search for :
Quote'height' => isset($editorOptions['height']) ? $editorOptions['height'] : '150px',

Change 150px to the value you want  ;)

Bye

SliN
Title: Re: How to make input text box (text area?) bigger
Post by: Oldiesmann on April 10, 2008, 10:12:24 AM
You can also change the number of rows and columns (lines 1083 and 1084 of that same file).
Title: Re: How to make input text box (text area?) bigger
Post by: TropicalMonkey on April 10, 2008, 12:00:36 PM
Excellent! That worked like a charm!

Thank you...
Title: Re: How to make input text box (text area?) bigger (solved)
Post by: slinouille on April 10, 2008, 12:23:43 PM
Hello

Otherwize, I've adapter the mod "PostboxIncDec" for SMF2.0b3 ... see the screen capture.

if you want I can post  the adaptation ... if I'm authorized ... is there any modorateur that can indicate if I'm allowed to post an adaptation of a official mod ????

Bye

SliN