Temporary lines in objects created in Runtime

Asked

Viewed 50 times

0

When creating objects in Runtime in firemonkey appear several lines around the object, in the image below a tlayout, when resizing the form or hovering over the line it disappears, happens with Timages, Trectangles, Tlayouts and other components.

Would anyone know how to fix this error in the interface?

Tlayout appearing the lines

erro em objeto criado em runtime

Tlayout after resizing the form

inserir a descrição da imagem aqui

lay:= TLayout.Create(Rectangle);
lay.BeginUpdate;
lay.Parent:= Rectangle;
lay.Align:= TAlignLayout.client;
lay.EndUpdate;
  • have some style loaded?

  • no, there is none, I am creating everything in Runtime and without loading style

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.