Even when you write:
|*Left aligned header* |
the column text is centered.
AC
This is not an
urgent bug which should block a release.
BTW, it is exactly what is defined as default in
TablePlugin setting
TABLEATTRIBUTES
. Just remove the setting for
headeralign="center"
and you get what you'd expect.
The nasty bit is that TablePlugin affects tables which do not have a
%TABLE{...}%
line, but this behaviour and the alignment defaults have been active since TablePlugin has been shipped with TWiki. But if you want to change this behaviour, this is something that needs to be discussed.
--
HJ
Ah, I forgot it was the default. A bit stupid as I wrote the default myself.
Like this we can expect support questions. But it's hard to think of a general rule here: should local alignment settings (using the spaces before or after the text) override the default settings?
AC
Raised again in
TWiki:Support/TableHeadingsIgnoreAlignment
.
We can think of a difficult solution and of a simple solution. The simple one: the default style of table headers, if no style is set, is centered align. That is what
TABLEATTRIBUTES
now dictates. By leaving out the
headeralign
setting nothing would appear to have changed.
AC
I have committed the change: removing
headeralign="center"
from
TABLEATTRIBUTES
, but not built the plugin yet. I want to test if things really are that simple, perhaps something crops up.
AC
No problems yet since 06 Mar 2007.
-- TWilki:Main.ArthurClemens - 31 Mar 2007
Is this still live? if so, what are you waiting for?
CC
Setting Waiting for Release. The
TablePlugin update should go into a patch release.
--
TWiki:Main.ArthurClemens
- 23 Apr 2007