Skip to content

Commit

Permalink
Update Bind4D.Component.DBGrid.pas
Browse files Browse the repository at this point in the history
  • Loading branch information
bittencourtthulio committed Apr 15, 2021
1 parent aeb6dea commit 891ced7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Bind4D.Component.DBGrid.pas
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ function TBind4DComponentDBGrid.AdjusteResponsivity: iBind4DComponent;
aTotalWidthAttr := 0;
aCountTotalColumnsVisible := 0;

if not Assigned(FComponent.Columns) then exit;

for I := 0 to Pred(FComponent.Columns.Count) do
FComponent.Columns[i].Width := 100;

Expand Down

0 comments on commit 891ced7

Please sign in to comment.