mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 07:39:26 +02:00
TurbopPower_ipro: Fix alignment of simple text in table cells (note: not working any more for div tags within cells)
git-svn-id: trunk@58852 -
This commit is contained in:
parent
2a0d5ff211
commit
9f3839bc3a
@ -511,12 +511,11 @@ begin
|
||||
FBlockDescent := PropA.tmDescent;
|
||||
end;
|
||||
if (FCurProps = nil) or not BIsEqualTo(FCurProps) then begin
|
||||
// FAl := self.Props.Alignment; // was: FAl := Alignment
|
||||
// wp: next line was changed to "FAl := self.Props.Alignment" in order
|
||||
FAl := self.Props.Alignment; // was: FAl := Alignment
|
||||
// wp: line was changed to "FAl := self.Props.Alignment" in order
|
||||
// to fix horizontal text alignment of table cells (r50145).
|
||||
// But with this change, something like "<p align="center"> does not work any more!
|
||||
// Alignment within cells still seems to work correctly after user to old code.
|
||||
FAl := Alignment;
|
||||
FVAL := VAlignment;
|
||||
FBaseOffset := FontBaseline;
|
||||
aPrefor := Preformatted;
|
||||
|
Loading…
Reference in New Issue
Block a user