mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 18:08:35 +02:00
fpvectorial: Multiline text finally fixed without breaking images
git-svn-id: trunk@51965 -
This commit is contained in:
parent
7ee06844a2
commit
4111ab4964
@ -3647,6 +3647,7 @@ function TvEntity.GetEntityFeatures(ADest: TFPCustomCanvas): TvEntityFeatures;
|
||||
begin
|
||||
Result.DrawsUpwards := False;
|
||||
Result.DrawsUpwardHeightAdjustment := 0;
|
||||
Result.DrawsUpwardHeightAdjustment_FirstLineExcluded := 0;
|
||||
end;
|
||||
|
||||
function TvEntity.GenerateDebugTree(ADestRoutine: TvDebugAddItemProc;
|
||||
@ -8094,7 +8095,6 @@ begin
|
||||
while lEntity <> nil do
|
||||
begin
|
||||
lHeight_px := lEntity.GetEntityFeatures(ADest).DrawsUpwardHeightAdjustment_FirstLineExcluded;
|
||||
lHeight_px := 0; // This breaks multiline text inside tables, but removing this breaks raster images inside table position
|
||||
|
||||
if lEntity is TvText then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user