|
|
|
@ -1271,7 +1271,7 @@ void TableEditor::configureCell(int row, int col, Node * node)
|
|
|
|
|
return;
|
|
|
|
|
// Header (TH) or standard cell?
|
|
|
|
|
item->setHeader(node->tag->name.lower() == "th");
|
|
|
|
|
//Qt::Horizontal alignment
|
|
|
|
|
// Horizontal alignment
|
|
|
|
|
TQt::AlignmentFlags flags;
|
|
|
|
|
TQString align = node->tag->attributeValue("align", true);
|
|
|
|
|
if (align == "right")
|
|
|
|
@ -1285,7 +1285,7 @@ void TableEditor::configureCell(int row, int col, Node * node)
|
|
|
|
|
else
|
|
|
|
|
flags = TQt::AlignLeft;
|
|
|
|
|
item->setAlignment(flags);
|
|
|
|
|
//Qt::Vertical alignment
|
|
|
|
|
// Vertical alignment
|
|
|
|
|
TQString valign = node->tag->attributeValue("valign", true);
|
|
|
|
|
if (valign == "top")
|
|
|
|
|
flags = TQt::AlignTop;
|
|
|
|
|