First line of wrapped text indented
(1 viewing) (1) Guest
 | | |
|
TOPIC: First line of wrapped text indented
|
|
First line of wrapped text indented 4 Months, 2 Weeks ago
|
Karma: 0
|
|
Hi,
I have just installed Table JX and built my first table. All very easy - thank you.
I am looking at my information through FireFox and I notice that where the information in a cell wraps onto more than one line, the first character of the first line is slightly indented. This happens on every cell where the text wraps. The same effect is seen when using IE8.
Can you tell me if I can remove this indent please?
Thank you
David
|
|
djb
Fresh Boarder
Posts: 16
|
|
|
|
|
Re:First line of wrapped text indented 4 Months, 2 Weeks ago
|
Karma: 1
|
|
Hi,
you can search in \components\com_grid\layouts\GridView.php for space character and remove it (for header around line 213 and for rows around line 238)
Best regards,
Viljem
|
|
|
|
Last Edit: 2010/04/21 00:16 By viljem.
|
|
|
Re:First line of wrapped text indented 4 Months ago
|
Karma: 0
|
|
Viljem,
I made the change to the gridview.php last night and had 50% success.
Removing the   from the rows worked well tht text now neatly aligns.
I removed the   from the header but this is not reflected when I refresh the grid. As a result, the column headings are still inset by a space.
These are the lines I changed in the header section:
Line 90:
//$field['output_script'] .= "<td bgcolor=\"".$this->_config->hColor."\"><span class=\"field\"> </span></td>
$field['output_script'] .= "<td bgcolor=\"".$this->_config->hColor."\"><span class=\"field\"></span></td>
and line 180:
//$field['output_script'] .= "<td bgcolor=\"".$this->_config->hColor."\"><span class=\"field\">&nbs;</span></td>
$field['output_script'] .= "<td bgcolor=\"".$this->_config->hColor."\"><span class=\"field\"></span></td>
Were these the correct lines to change?
There are other &nbs charaters further down the script but these don't see to affect the header.
Thank you for our help
David
|
|
djb
Fresh Boarder
Posts: 16
|
|
|
|
|
Re:First line of wrapped text indented 4 Months ago
|
Karma: 0
|
|
djb wrote:
Viljem,
I made the change to the gridview.php last night and had 50% success.
Removing the   from the rows worked well tht text now neatly aligns.
I removed the   from the header but this is not reflected when I refresh the grid. As a result, the column headings are still inset by a space.
These are the lines I changed in the header section:
Line 90:
//$field['output_script'] .= "<td bgcolor=\"".$this->_config->hColor."\"><span class=\"field\"> </span></td>
$field['output_script'] .= "<td bgcolor=\"".$this->_config->hColor."\"><span class=\"field\"></span></td>
and line 180:
//$field['output_script'] .= "<td bgcolor=\"".$this->_config->hColor."\"><span class=\"field\">&nbs;</span></td>
$field['output_script'] .= "<td bgcolor=\"".$this->_config->hColor."\"><span class=\"field\"></span></td>
Were these the correct lines to change?
There are other &nbs charaters further down the script but these don't seem to affect the header.
Thank you for our help
David
|
|
djb
Fresh Boarder
Posts: 16
|
|
|
|
|
 | | |
Tools JX, Powered by ; by SG