FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Default width of compose/reply text area?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Default width of compose/reply text area? [message #160924] Sat, 07 November 2009 04:38 Go to next message
jm2morri is currently offline  jm2morri   Canada
Messages: 225
Registered: January 2009
Location: Stratford, Ontario, Canad...
Karma: 0
Senior Member
Hello everyone,

I just noticed the arrows to the left of the compose or reply text area that increase/decrease the size of the text box. But the settings don't seem to be sticky. Does anyone know where the default setting is stored?

Cheers,

James.
Re: Default width of compose/reply text area? [message #160932 is a reply to message #160924] Sat, 07 November 2009 10:00 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
You can change it in post.tmpl. Look for <textarea rows="20" cols="65". Remember to rebuild the theme when done.
Re: Default width of compose/reply text area? [message #160997 is a reply to message #160932] Mon, 09 November 2009 22:44 Go to previous messageGo to next message
jm2morri is currently offline  jm2morri   Canada
Messages: 225
Registered: January 2009
Location: Stratford, Ontario, Canad...
Karma: 0
Senior Member
Works great. Thanks.
icon6.gif  Re: Default width of compose/reply text area? [message #160999 is a reply to message #160924] Mon, 09 November 2009 23:54 Go to previous messageGo to next message
The Witcher is currently offline  The Witcher   United States
Messages: 675
Registered: May 2009
Location: USA
Karma: 3
Senior Member
Since this is an issue I am interested in I looked into it further:

Pretty Sweet!...... I went to:

/thm/default/tmpl,..... post.tmpl. around line 164, scrolled over to the right side to find <textarea rows="20" cols="65" and edited that to <textarea rows="20" cols="150"

Saved it then Rebuilt all themes, and Walla It works!
FYI It appears that the rows and columns width and height more or less match the number of lines/characters in the text area field/block (I counted them); which makes it easy to figure out the height and width you want or need.

I found that in a default installation <textarea rows="20" cols="150" worked quite well because it showed much more of the text in the display area while still allowing all the File attachments: and Options: to display in a single window without scrolling to use them.

Unfortunately I doubt that will remain so if there is a custom header installed. I tried it on a forum with a 55px height custom header which used larger than default text; and sure enough 3 of the options (Topic Locked, Make the topic always appear at the top of the topic listing, and Disable smilies in this message) did not all display on the same page without scrolling.

I tried it again on a v2.8.1 forum which has a 40px height custom header and uses the default text size, with the same basic results. During my tests I found that <textarea rows="15" cols="150" worked best for me overall since it allowed at least 4 file attachments to be added while still leaving the Browse and upload functions to remain visible without scrolling the page up or down.

I had already decided to transition to standard 40px height custom headers for all my forums so it appears that (<textarea rows="15" cols="150") will work best for me, the only thing better would be to have the preview button available in the same screen (Much like it is in Message Preview) without scrolling down to it.

The results you obtain may be different from these due to a variety of factors such as screen size, resolution, and or browser differences.


"I'm a Witcher, I solve human problems; not always using a sword!"

[Updated on: Tue, 10 November 2009 00:05]

Report message to a moderator

icon6.gif  Re: Default width of compose/reply text area? [message #161229 is a reply to message #160999] Wed, 25 November 2009 17:59 Go to previous message
The Witcher is currently offline  The Witcher   United States
Messages: 675
Registered: May 2009
Location: USA
Karma: 3
Senior Member
Update 11/25/2009

Apparently setting "cols=150" does not work very well for everyone, as I have already been notified that it causes the text area to scroll off the right side of the screen for some users even though it works fine for my setup.

This appears to not be just a matter of physical screen size but of individual computer settings as well. With that in mind I have reduced the "cols=150" setting to "cols=95" and will see how that works.


"I'm a Witcher, I solve human problems; not always using a sword!"
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: login flies
Next Topic: Changing the color of the mystery row
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 12:10:27 GMT 2024

Total time taken to generate the page: 0.02231 seconds