jjzjj

GridLayoutGallery

全部标签

ios - Delphi TGridLayout 布局和项目之间的填充

我在尝试使用TGridLayout保存一系列TImage对象时得到了一些结果,每个对象都加载了位图。但是,控件之间没有余量。我已经尝试使TImage宽度/高度小于TGridLayoutitemheight/itemwidth,但没有成功。示例代码:ImageRef:=TImage.Create(GridLayoutGallery);ImageRef.Visible:=False;//setruelaterImageRef.Width:=GridLayoutGallery.ItemWidth-10;ImageRef.Height:=GridLayoutGallery.ItemHeight