How to change the size of the field of the name's project ?

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
ricardojdd
TestLink user
Posts: 7
Joined: Tue Nov 04, 2008 7:59 pm

How to change the size of the field of the name's project ?

Post by ricardojdd »

Hello

I need some help, I searched in the foruns but found nothing related to my problem.

I would like to increase the project field combobox's size (Test Project), located in the navigation bar and plan field test(Test Plan current).

When the names are too long it are cut, does anyone know to change?

Thank you and I look forward

Ricardo
ricardojdd
TestLink user
Posts: 7
Joined: Tue Nov 04, 2008 7:59 pm

Re: How to change the size of the field of the name's projec

Post by ricardojdd »

Hi

If someone has the same problem tracking solution

Change the file NAVBAR.tpl

<div class="menu_bar" style="margin: 0px 5px 0px 135px;">
{if $gui->TestProjects != ""}
<div style="display: inline; float: right;">
<form style="display:inline" name="productForm" action="lib/general/navBar.php" method="get">
{$labels.testproject}
<select style="width: 500px; font-size: 80%;position:relative; top:-1px;" name="testproject" onchange="this.form.submit();">
{foreach key=tproject_id item=tproject_name from=$gui->TestProjects}
<option value="{$tproject_id}" title="{$tproject_name|escape}"
{if $tproject_id == $gui->tprojectID} selected="selected" {/if}>
{$tproject_name|escape}</option>
{/foreach}
</select>
</form>
</div>


And the file MAINPAGERIGHT.tpl



{* ----- Right Column begin ---------------------------------------------------------- *}
<div class="vertical_menu" style="width: 450px;float: right; margin:10px 10px 10px 10px">
{* ----------------------------------------------------------------------------------- *}


<form name="testplanForm" action="lib/general/mainPage.php">
{if $gui->countPlans > 0}
{$labels.current_test_plan}:<br/>
<select style="width: 400px; z-index:1" name="testplan" onchange="this.form.submit();">
{section name=tPlan loop=$gui->arrPlans}
<option value="{$gui->arrPlans[tPlan].id}"
{if $gui->arrPlans[tPlan].selected} selected="selected" {/if}
title="{$gui->arrPlans[tPlan].name|escape}">
{$gui->arrPlans[tPlan].name|escape}
</option>
{/section}
</select>
Post Reply