Current time: 05-23-2012, 03:05 PM Hello There, Guest! (LoginRegister)


Editor width problem
06-29-2008, 06:19 PM (This post was last modified: 06-29-2008 06:20 PM by quacktacular.)
Post: #1
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 1 Hour, 1 Minute, 14 Seconds ago Editor width problem
The width of the editor (when composing a PM at least) is a problem for people running fixed width themes. The width really should be editable in the template or with CSS. I don't think this is possible right now, can we make this change?

As seen on my fixed width template, and on the MyBB Community Forums, the editor causes problems where pages are squished and elements overflow.

This is just a suggestion, but it would save a lot of grief for people making themes for their own sites or distribution. If it's already possible to shrink the editor I apologize for this thread and hope you'll guide me in the right direction.

Picture 18: MyBBCF UserCP nav squished by editor.
Picture 12: N.Design 1.4 UserCP nav squished, overflow off to the right.


Attached File(s) Thumbnail(s)
       

Quacktacular Media
Visit this user's website Find all posts by this user
06-29-2008, 07:46 PM
Post: #2
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 1 Hour, 1 Minute, 14 Seconds ago RE: Editor width problem
You can edit the width in the template for the private message compose page. It is just the cols attribute of the textarea that sets the width of the editor, I believe.

Justin Soltesz / MyBB Lead Designer / RCTgo.com / Quizli does quizzes best / Tracker: what's due?
Visit this user's website Find all posts by this user
06-29-2008, 07:57 PM (This post was last modified: 06-29-2008 07:58 PM by quacktacular.)
Post: #3
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 1 Hour, 1 Minute, 14 Seconds ago RE: Editor width problem
(06-29-2008 07:46 PM)Justin S. Wrote:  You can edit the width in the template for the private message compose page. It is just the cols attribute of the textarea that sets the width of the editor, I believe.
Thanks for your response Justin. Editing the cols attribute does shrink the textarea, but it causes some new issues.

We start to lose buttons from the toolbar and the codebuttons div doesn't overflow properly, the textarea covers up a checkbox.


Attached File(s) Thumbnail(s)
   

Quacktacular Media
Visit this user's website Find all posts by this user
06-29-2008, 08:08 PM
Post: #4
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 1 Hour, 1 Minute, 14 Seconds ago RE: Editor width problem
I thought that might happen - there was previously a bug with the templates where the width of the textarea on the private message compose page was too small, causing what you've described.

How much smaller did you make the textarea?

Justin Soltesz / MyBB Lead Designer / RCTgo.com / Quizli does quizzes best / Tracker: what's due?
Visit this user's website Find all posts by this user
06-29-2008, 08:13 PM
Post: #5
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 1 Hour, 1 Minute, 14 Seconds ago RE: Editor width problem
Down to 40 columns.

Quacktacular Media
Visit this user's website Find all posts by this user
06-29-2008, 08:19 PM
Post: #6
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 1 Hour, 1 Minute, 14 Seconds ago RE: Editor width problem
It can't go any wider?

That's the only way I know to make the editor smaller Confused I would suggest to make the number of columns displayed in the clickable smilies editor to three, but that would only work well if this theme isn't meant to be released.

Justin Soltesz / MyBB Lead Designer / RCTgo.com / Quizli does quizzes best / Tracker: what's due?
Visit this user's website Find all posts by this user
06-29-2008, 08:36 PM
Post: #7
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 1 Hour, 1 Minute, 14 Seconds ago RE: Editor width problem
Yeah, unfortunately this template is for release. I also plan to make a number of other fixed width templates, so this is going to be an ongoing problem.

If I made it wider then I have to change the whole private_send template and start moving columns around. We want to avoid nasty stuff like that it, plus that action would make it inconsistent will the post editor which is something I really want to avoid.

What are the chances we can get a dev to make the editor a little more fluid? It wasn't a problem in 1.2, so (I hope) it shouldn't be that big a fix.

Quacktacular Media
Visit this user's website Find all posts by this user
06-29-2008, 09:59 PM
Post: #8
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 1 Hour, 1 Minute, 14 Seconds ago RE: Editor width problem
The width and height is controlled with javascript in the editor.js.

And would need a VAR something like this:

Code:
<script TYPE="text/javascript">
var Textarea="w=300";
var Textarea="h=300";
</script>

Hound the dev's for a fix - because you're right, it's going to be theming pain otherwise. Sad
Visit this user's website Find all posts by this user
06-30-2008, 12:12 AM
Post: #9
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 1 Hour, 1 Minute, 14 Seconds ago RE: Editor width problem
Definitely, we need control over editor width in the templates. Can this be implemented?

Quacktacular Media
Visit this user's website Find all posts by this user
06-30-2008, 12:55 AM
Post: #10
Solved: 1 Year, 7 Months, 3 Weeks, 1 Day, 1 Hour, 1 Minute, 14 Seconds ago RE: Editor width problem
Photoshop it to see how it should look in your opinion when it gets small like that and I'll see what we can do.
Visit this user's website Find all posts by this user


Forum Jump:


User(s) browsing this thread: 4 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication