Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: husky83 on July 08, 2013, 05:23:44 PM

Title: Howto modify width of editor box?
Post by: husky83 on July 08, 2013, 05:23:44 PM
Hi,
in order to make my editor look the same in all my web applications I modified the TinyMCE config a bit (altering plugins and buttons in ./program/js/editor.js)
Now - the buttons don't fit like I would would like to have them, because the editor textbox is a bit too narrow (or the button bar is to wide - depends on point of view, I guess ;) )

How can I modify the width of the editor textbox in the 'compose mail' window?
Title: Re: Howto modify width of editor box?
Post by: SKaero on July 09, 2013, 01:51:23 AM
If your talking about the part I'm thinking about the width changes with the window size.
Title: Re: Howto modify width of editor box?
Post by: husky83 on July 09, 2013, 03:19:31 AM
Hm, so that means I have to resize the window manually every time I write an email :-\
Is there any way to define window width automatically? Or something like "make the editor textbox at least 600px wide" (instead of the usual say 500px)
Title: Re: Howto modify width of editor box?
Post by: SKaero on July 09, 2013, 10:18:17 AM
Well you could force it to be wider using css but it wouldn't look that good.
Title: Re: Howto modify width of editor box?
Post by: husky83 on July 09, 2013, 12:04:29 PM
Quote from: SKaero on July 09, 2013, 10:18:17 AM
Well you could force it to be wider using css but it wouldn't look that good.

Ok, that sounds like a way to go. Which file is it I need to modify?
Title: Re: Howto modify width of editor box?
Post by: SKaero on July 09, 2013, 12:40:00 PM
Most of the css for the editor container is in the mail.css in the skins folder.
Title: Re: Howto modify width of editor box?
Post by: husky83 on July 11, 2013, 03:36:26 AM
Quote from: SKaero on July 09, 2013, 12:40:00 PM
Most of the css for the editor container is in the mail.css in the skins folder.
Thanks a million, SKaero