Hi all!
I want to increase Height for Text Field for Steps and Expected Results.
How can I do that?
Increase Text Field Height in Test Cases page
Hi,
I have the sema question.
I would like to customize the height of field summary and steps with different value : smaller value for summary and bigger one for steps.
I try to change the value in the file fckeditor_php5.php, it works but all fields have the same size.
Is it possible to spécify the value for each field ?
Thanks to help me.
I have the sema question.
I would like to customize the height of field summary and steps with different value : smaller value for summary and bigger one for steps.
I try to change the value in the file fckeditor_php5.php, it works but all fields have the same size.
Is it possible to spécify the value for each field ?
Thanks to help me.
You might want to look at the following possible solution for increasing the size of the text area:
http://www.teamst.org/phpBB2/viewtopic.php?t=638
The additional button on the toolbar allows you to maximize the size of the the text input area when you need.
I'm not sure about an option to have different size windows.
http://www.teamst.org/phpBB2/viewtopic.php?t=638
The additional button on the toolbar allows you to maximize the size of the the text input area when you need.
I'm not sure about an option to have different size windows.
Thanks apugohome for this solution.
But i have found another solution to be able to modify different size for each field in edit test case:
- modify the config file custm_config.inc.php and had constant with parameter value
$g_testcase_height->summary = "120";
$g_testcase_height->steps = "350";
$g_testcase_height->expected_results = "200";
- edit the file lib/testcases/tcEdit.php and modify where the fckedit objects are created and initialized. The modification are indicated in bold style :
// --------------------------------------------------------------------
// create fckedit objects
$a_ofck = array('summary','steps','expected_results');
$oFCK = array();
$my_height = config_get('testcase_height');
foreach ($a_ofck as $key)
{
$oFCK[$key] = new fckeditor($key) ;
$of = &$oFCK[$key];
$of->BasePath = $_SESSION['basehref'] . 'third_party/fckeditor/';
$of->ToolbarSet=$g_fckeditor_toolbar;;
$of->Height = $my_height->$key;
}
But i have found another solution to be able to modify different size for each field in edit test case:
- modify the config file custm_config.inc.php and had constant with parameter value
$g_testcase_height->summary = "120";
$g_testcase_height->steps = "350";
$g_testcase_height->expected_results = "200";
- edit the file lib/testcases/tcEdit.php and modify where the fckedit objects are created and initialized. The modification are indicated in bold style :
// --------------------------------------------------------------------
// create fckedit objects
$a_ofck = array('summary','steps','expected_results');
$oFCK = array();
$my_height = config_get('testcase_height');
foreach ($a_ofck as $key)
{
$oFCK[$key] = new fckeditor($key) ;
$of = &$oFCK[$key];
$of->BasePath = $_SESSION['basehref'] . 'third_party/fckeditor/';
$of->ToolbarSet=$g_fckeditor_toolbar;;
$of->Height = $my_height->$key;
}