Browse Source

Message box have to draw some blank lines.

Margers 11 months ago
parent
commit
9c3a66930c
1 changed files with 9 additions and 0 deletions
  1. 9 0
      packages/fv/src/dialogs.inc

+ 9 - 0
packages/fv/src/dialogs.inc

@@ -3261,6 +3261,15 @@ BEGIN
        end;
        end;
      end;
      end;
    FinishLine;
    FinishLine;
+   if Y < Size.Y then
+   begin
+     {we have to draw blank lines}
+     for I:=Y to Size.Y-1 do
+     begin
+       BeginNewLine;
+       FinishLine;
+     end;
+   end;
 END;
 END;
 {$else FV_UNICODE}
 {$else FV_UNICODE}
 PROCEDURE TStaticText.Draw;
 PROCEDURE TStaticText.Draw;