From 593cb0129545da207e7d4a8fa2a40d5ea7f3ff51 Mon Sep 17 00:00:00 2001 From: dsiders Date: Fri, 4 Mar 2022 16:52:20 +0000 Subject: [PATCH] Docs: LCL/shellctrls. Updates TCustomShellListView.AdjustColWidths topic for changes in 82b9902b. --- docs/xml/lcl/shellctrls.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/xml/lcl/shellctrls.xml b/docs/xml/lcl/shellctrls.xml index b61ef3e57b..a3c24fa122 100644 --- a/docs/xml/lcl/shellctrls.xml +++ b/docs/xml/lcl/shellctrls.xml @@ -19,11 +19,15 @@
  • TShellTreeView
  • TShellListView
  • +

    + ShellCtrls.pas is part of the Lazarus Component Library (LCL). +

    + @@ -1159,7 +1163,6 @@

    AdjustColWidths is a method used to adjust the width of columns according to the overall width for the control. It ensures that the columns are proportionately sized in the control layout.

    -

    No actions are performed in the method when the control has fewer than three (3) columns, or when AutoSizeColumns is False and an explicit value has been assigned to the first column in the control.

    @@ -1173,7 +1176,7 @@
    Width >= 400 pixels
    - The initial column is give 70% of the overall width, and the second column is given 15% of the overall width. The third column is given the remaining client area for the control. + The initial column is give 70% of the overall width, and the second column is given 15% of the overall width. The third column is given the remaining client area for the control, or 0 when no space is available.