Change The size of the ref: field propal

Change The size of the ref: field propal.

How do I change the size of the text field when I have an item with a lot of text, I see the entire text.

Where the script is the ability to set the size of contents?

Pièces jointes :

I’m afraid there is no option for that.

It will be great if that editor could be auto resizable as it is in other parts of dolibarr.

If it could help Knut, when I need to introduce too many texte there, heres is how I do it.(first must enable the complementary module WYSIWYG, look at the attached image with 3 steps).

By the way, now I need to change the propal pdf desing, as I write to many texte there, will like to reduce the space for the columns for VAT, Unitary price, Qty., and Sub total.

Anyone could show some simply way to do it?, the problem is that now a single propal, is wasting 3, 4 or more pages… if my customers print them all, they will soon begin to hate me for this waste of paper.

Thank you

Thanks for answer!
but on the printout proposal.odt if i use the
WYSIWYG editor on the ref: field propal
it print out the line ch symbol on the form?

Really dont know, as I always use pdf model, for me is much better to send these pdf directly, instead of create the odt and then, download and generate a pdf for send it by email.

But as seen in the attached image, odt templates doesnt support html text, only plaint text, obiously.

Hello again,

good news Knut, after playing a little with the new template amarok, found where to enable the option to resize the text editor.

This option varies depending witch is the theme you are using, go to the THEME folder in the dOLIBARR root and find your actual theme.

The open the file config.js it is into ckeditor folder, uncomment about line 12 and chage to true, 13 and 14, and adjust the maxHeight and maxWidth values. Not sure if is it neccesary to add ‘’ in these values.

By the way, must say that I test it in Firefox and it works.

This is how it looks after

Original file in amarok template

1 /*
2 Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
3 For licensing, see LICENSE.html or http://ckeditor.com/license
4 */
5 
6 CKEDITOR.editorConfig = function( config )
7 {
8 	// Define changes to default configuration here.
9 	// http://docs.cksource.com/CKEditor_3.x/Developers_Guide
10 	// http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html
11	config.enterMode = CKEDITOR.ENTER_BR;
12	config.resize_enabled = false; //change to true
13	//config.resize_maxHeight = 3000;
14	//config.resize_maxWidth = 3000;
15	//config.height = '300px';
16	//config.resize_dir = 'vertical';	// horizontal, vertical, both
17 ....