Ninad Avasare
Ninad Avasare

Reputation: 343

TAdvStringGrid is not aligning to full screen when form is maximized at run time

I put TAdvStringGrid (879 * 419) control on my delphi form (879 * 419) with properties Align = alClient & Anchors = [akLeft, akTop, akRight, akBottom] but when form is maximized at run time TAdvSTringGrid is not aligning to the max form size(1366 * 768) as shown in figure below which is showing white gap between TAdvSTringGrid table and max form size.

enter image description here

It seems like it is aligning TAdvSTringGrid component to full size but it is not stretching TABLE & CELLS to align with maximum size. How to make table align with full size ?

Upvotes: 0

Views: 681

Answers (1)

Ninad Avasare
Ninad Avasare

Reputation: 343

It worked out finally with the ColumnSize Stretch property of TAdvStringGrid by setting out ColumnSize.Stretch = True which helped me align TAdvSTringGrid table to the full screen..

Upvotes: 1

Related Questions