设计器

修正label控件问题
This commit is contained in:
JianjunLiu
2023-05-29 10:46:56 +08:00
parent 2907d93dbf
commit e9f7ae4e50
3 changed files with 28 additions and 22 deletions
+2 -2
View File
@@ -964,7 +964,7 @@ type TDVirutalWindow = class(TCustomControl) //
width := 30;
height := 30;
FWindowFileds := array("left","top","height","width");
ParentFont := true;
//ParentFont := true;
end
function paint();override;
begin
@@ -1464,7 +1464,7 @@ type TGraphicLabelWindow = class(TDVirutalWindow)
BindComp := new tlabel(self);
width := BindComp.width;
height := BindComp.Height;
WindowFileds := array("left","top","width","height","color","font","border","caption","visible","align","anchors");
WindowFileds := array("left","top","width","height","color","parentcolor","font","parentfont","border","caption","visible","align","anchors");
end
function DesigningSizer();override;